Share via


DatabaseReplicaState.Parent-Eigenschaft

Gets the AvailabilityGroup object that is the parent of the DatabaseReplicaState object.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public ReadOnly Property Parent As AvailabilityGroup 
    Get
'Usage
Dim instance As DatabaseReplicaState 
Dim value As AvailabilityGroup 

value = instance.Parent
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public AvailabilityGroup Parent { get; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property AvailabilityGroup^ Parent {
    AvailabilityGroup^ get ();
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : AvailabilityGroup
function get Parent () : AvailabilityGroup

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo.AvailabilityGroup
The AvailabilityGroup object that is the parent of the DatabaseReplicaState object.

Siehe auch

Verweis

DatabaseReplicaState Klasse

Microsoft.SqlServer.Management.Smo-Namespace