Propriedade do RDL AvailabilityGroup.LocalReplicaRole
Gets the availability replica role.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LocalReplicaRole As AvailabilityReplicaRole
Get
'Uso
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
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.Smo.AvailabilityReplicaRole
One of the enumeration values of the AvailabilityReplicaRole enumeration.