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 命名空间