Propriedade do RDL DatabaseReplicaState.ReplicaRole
Gets the role of the availability replica.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ReplicaRole As AvailabilityReplicaRole
Get
'Uso
Dim instance As DatabaseReplicaState
Dim value As AvailabilityReplicaRole
value = instance.ReplicaRole
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public AvailabilityReplicaRole ReplicaRole { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property AvailabilityReplicaRole ReplicaRole {
AvailabilityReplicaRole get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ReplicaRole : AvailabilityReplicaRole
function get ReplicaRole () : AvailabilityReplicaRole
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.Smo.AvailabilityReplicaRole
The role of the availability replica.