次の方法で共有


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 値。