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 命名空间