Database.MirroringStatus 屬性
Gets the status of the database and the database mirroring session.
命名空間: 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
A MirroringStatus object value that specifies the status of the database and mirroring session.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間