다음을 통해 공유


AvailabilityDatabase.Parent 속성

Gets the specified AvailabilityGroup object.

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

구문

‘선언
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As AvailabilityGroup 
    Get 
    Set
‘사용 방법
Dim instance As AvailabilityDatabase 
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 availability group.

참고 항목

참조

AvailabilityDatabase 클래스

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