MirroringStatus 屬性
取得資料庫和資料庫鏡像工作階段的狀態。
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MirroringStatus As MirroringStatus
Get
'用途
Dim instance As Database
Dim value As MirroringStatus
value = instance.MirroringStatus
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public MirroringStatus MirroringStatus { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property MirroringStatus MirroringStatus {
MirroringStatus get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member MirroringStatus : MirroringStatus
function get MirroringStatus () : MirroringStatus
屬性值
型別:Microsoft.SqlServer.Management.Smo. . :: . .MirroringStatus
MirroringStatus 物件值,這個值會指定資料庫和鏡像工作階段的狀態。