Proprietà AvailabilityReplica.Role
Gets the replica role object associated with this instance.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Role As AvailabilityReplicaRole
Get
'Utilizzo
Dim instance As AvailabilityReplica
Dim value As AvailabilityReplicaRole
value = instance.Role
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public AvailabilityReplicaRole Role { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property AvailabilityReplicaRole Role {
AvailabilityReplicaRole get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member Role : AvailabilityReplicaRole
function get Role () : AvailabilityReplicaRole
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Smo.AvailabilityReplicaRole
The role.