AvailabilityGroup.Parent 属性
Gets or sets the parent of the availability group.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As Server
Get
Set
用法
Dim instance As AvailabilityGroup
Dim value As Server
value = instance.Parent
instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public Server Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property Server^ Parent {
Server^ get ();
void set (Server^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : Server with get, set
function get Parent () : Server
function set Parent (value : Server)
属性值
类型:Microsoft.SqlServer.Management.Smo.Server
The parent of the availability group.