DatabaseReplicaState.Parent 属性

Gets the AvailabilityGroup object that is the parent of the DatabaseReplicaState object.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public ReadOnly Property Parent As AvailabilityGroup 
    Get
用法
Dim instance As DatabaseReplicaState 
Dim value As AvailabilityGroup 

value = instance.Parent
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public AvailabilityGroup Parent { get; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property AvailabilityGroup^ Parent {
    AvailabilityGroup^ get ();
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : AvailabilityGroup
function get Parent () : AvailabilityGroup

属性值

类型:Microsoft.SqlServer.Management.Smo.AvailabilityGroup
The AvailabilityGroup object that is the parent of the DatabaseReplicaState object.

请参阅

参考

DatabaseReplicaState 类

Microsoft.SqlServer.Management.Smo 命名空间