Database.MirroringRoleSequence 屬性
Gets the role sequence number for primary/backup roles played by the mirroring partners.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MirroringRoleSequence As Integer
Get
'用途
Dim instance As Database
Dim value As Integer
value = instance.MirroringRoleSequence
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int MirroringRoleSequence { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int MirroringRoleSequence {
int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member MirroringRoleSequence : int
function get MirroringRoleSequence () : int
屬性值
型別:System.Int32
An Int32 value that specifies the sequence number of the primary/backup roles played by the mirroring partners.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間