Share via


AvailabilityReplicaCollection.Parent Property

Gets the parent object in the group.

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

Syntax

'Declaration
Public ReadOnly Property Parent As AvailabilityGroup 
    Get
'Usage
Dim instance As AvailabilityReplicaCollection 
Dim value As AvailabilityGroup 

value = instance.Parent
public AvailabilityGroup Parent { get; }
public:
property AvailabilityGroup^ Parent {
    AvailabilityGroup^ get ();
}
member Parent : AvailabilityGroup
function get Parent () : AvailabilityGroup

Property Value

Type: Microsoft.SqlServer.Management.Smo.AvailabilityGroup
The parent object in the group.

See Also

Reference

AvailabilityReplicaCollection Class

Microsoft.SqlServer.Management.Smo Namespace