共用方式為


SqlDeploymentOptions.TargetDatabaseExists 屬性

Gets boolean that if set specifies whether the target database exists

命名空間:  Microsoft.SqlServer.Dac.Deployment
組件:  Microsoft.SqlServer.Dac.Extensions (在 Microsoft.SqlServer.Dac.Extensions.dll 中)

語法

'宣告
Public ReadOnly Property TargetDatabaseExists As Nullable(Of Boolean)
    Get
'用途
Dim instance As SqlDeploymentOptions 
Dim value As Nullable(Of Boolean)

value = instance.TargetDatabaseExists
public Nullable<bool> TargetDatabaseExists { get; }
public:
property Nullable<bool> TargetDatabaseExists {
    Nullable<bool> get ();
}
member TargetDatabaseExists : Nullable<bool>
function get TargetDatabaseExists () : Nullable<boolean>

屬性值

型別:System.Nullable<Boolean>

請參閱

參考

SqlDeploymentOptions 類別

Microsoft.SqlServer.Dac.Deployment 命名空間