다음을 통해 공유


AvailabilityReplica.Parent 속성

Gets the availability group that is the parent of the availability replica.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As AvailabilityGroup 
    Get 
    Set
‘사용 방법
Dim instance As AvailabilityReplica 
Dim value As AvailabilityGroup 

value = instance.Parent

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

속성 값

유형: Microsoft.SqlServer.Management.Smo.AvailabilityGroup
The parent of the availability replica.

참고 항목

참조

AvailabilityReplica 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스