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

使用例

データベース オブジェクトでの作業

関連項目

参照

Database クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

データベース ミラーリングの管理

エンドポイントの実装

データベースの作成、変更、および削除

CREATE DATABASE (Transact-SQL)