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.