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.