Export (0) Print
Expand All

DatabaseReplicaState.ReplicaRole Property

Gets the role of the availability replica.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ReplicaRole As AvailabilityReplicaRole 
	Get
'Usage
Dim instance As DatabaseReplicaState 
Dim value As AvailabilityReplicaRole 

value = instance.ReplicaRole

Property Value

Type: Microsoft.SqlServer.Management.Smo.AvailabilityReplicaRole
The role of the availability replica.

Community Additions

ADD
Show:
© 2014 Microsoft