AvailabilityGroup.LocalReplicaRole プロパティ
可用性レプリカのロールを取得します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LocalReplicaRole As AvailabilityReplicaRole
Get
'使用
Dim instance As AvailabilityGroup
Dim value As AvailabilityReplicaRole
value = instance.LocalReplicaRole
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public AvailabilityReplicaRole LocalReplicaRole { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property AvailabilityReplicaRole LocalReplicaRole {
AvailabilityReplicaRole get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member LocalReplicaRole : AvailabilityReplicaRole
function get LocalReplicaRole () : AvailabilityReplicaRole
プロパティ値
型: Microsoft.SqlServer.Management.Smo.AvailabilityReplicaRole
AvailabilityReplicaRole 列挙体の列挙値のいずれかです。