共用方式為


SqlDeploymentOptions.RegisterDataTierApplication 屬性

Get or set boolean that specifies whether the database will be registered as a Data-Tier Application. If the target database is already a registered Data-Tier Application, then the registration will be updated.

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

語法

'宣告
Public ReadOnly Property RegisterDataTierApplication As Boolean 
    Get
'用途
Dim instance As SqlDeploymentOptions 
Dim value As Boolean 

value = instance.RegisterDataTierApplication
public bool RegisterDataTierApplication { get; }
public:
property bool RegisterDataTierApplication {
    bool get ();
}
member RegisterDataTierApplication : bool
function get RegisterDataTierApplication () : boolean

屬性值

型別:System.Boolean
True to register the database as a Data-Tier Application; otherwise, false. Default is false.

請參閱

參考

SqlDeploymentOptions 類別

Microsoft.SqlServer.Dac.Deployment 命名空間