Install メソッド (DacType, DatabaseDeploymentProperties, Boolean)
名前空間: Microsoft.SqlServer.Management.Dac
アセンブリ: Microsoft.SqlServer.Management.Dac (Microsoft.SqlServer.Management.Dac.dll)
構文
'宣言
Public Function Install ( _
dacType As DacType, _
deploymentProperties As DatabaseDeploymentProperties, _
skipPolicyValidation As Boolean _
) As DacInstance
'使用
Dim instance As DacStore
Dim dacType As DacType
Dim deploymentProperties As DatabaseDeploymentProperties
Dim skipPolicyValidation As Boolean
Dim returnValue As DacInstance
returnValue = instance.Install(dacType, _
deploymentProperties, skipPolicyValidation)
public DacInstance Install(
DacType dacType,
DatabaseDeploymentProperties deploymentProperties,
bool skipPolicyValidation
)
public:
DacInstance^ Install(
DacType^ dacType,
DatabaseDeploymentProperties^ deploymentProperties,
bool skipPolicyValidation
)
member Install :
dacType:DacType *
deploymentProperties:DatabaseDeploymentProperties *
skipPolicyValidation:bool -> DacInstance
public function Install(
dacType : DacType,
deploymentProperties : DatabaseDeploymentProperties,
skipPolicyValidation : boolean
) : DacInstance
パラメーター
- dacType
型: Microsoft.SqlServer.Management.Dac. . :: . .DacType
DAC インスタンス内に作成される DAC 要素を指定する DacType オブジェクトです。
- deploymentProperties
型: Microsoft.SqlServer.Management.Dac. . :: . .DatabaseDeploymentProperties
DAC データベース オブジェクトを保持するためのデータベース用に設定されたプロパティ (名前やデータ ファイルなど) を指定する DatabaseDeploymentProperties オブジェクトです。
- skipPolicyValidation
型: System. . :: . .Boolean
インストールで DAC 型のサーバーの選択ポリシーを評価するかどうかを指定する Boolean 値です。ポリシーを評価するには、true を指定します。評価をスキップするには、false を指定します。false を指定するのは、データベース エンジンのインスタンスが DAC を正常にホストできる場合のみにしてください。
戻り値
型: Microsoft.SqlServer.Management.Dac. . :: . .DacInstance
新しく作成された DAC インスタンスの DacInstance オブジェクトです。