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.