DeployedDac.DatabaseState 属性

Gets the state of the database that was deployed from the DAC package.

命名空间:  Microsoft.SqlServer.Management.Utility
程序集:  Microsoft.SqlServer.Management.Utility(在 Microsoft.SqlServer.Management.Utility.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property DatabaseState As DatabaseState 
    Get
用法
Dim instance As DeployedDac 
Dim value As DatabaseState 

value = instance.DatabaseState
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public DatabaseState DatabaseState { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property DatabaseState DatabaseState {
    DatabaseState get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member DatabaseState : DatabaseState
function get DatabaseState () : DatabaseState

属性值

类型:Microsoft.SqlServer.Management.Utility.DatabaseState
A DatabaseState object that represents the state of the database that was deployed from the DAC package.

请参阅

参考

DeployedDac 类

Microsoft.SqlServer.Management.Utility 命名空间