共用方式為


MirroringRoleSequence 屬性

取得鏡像夥伴所扮演之主要/備份角色的角色序號。

命名空間:  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
Int32 值,這個值會指定鏡像夥伴所扮演之主要/備份角色的序號。