AvailabilityReplica.ConnectionState 属性

Gets the current connection state of the availability replica.

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

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ConnectionState As AvailabilityReplicaConnectionState 
    Get
用法
Dim instance As AvailabilityReplica 
Dim value As AvailabilityReplicaConnectionState 

value = instance.ConnectionState
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public AvailabilityReplicaConnectionState ConnectionState { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property AvailabilityReplicaConnectionState ConnectionState {
    AvailabilityReplicaConnectionState get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ConnectionState : AvailabilityReplicaConnectionState
function get ConnectionState () : AvailabilityReplicaConnectionState

属性值

类型:Microsoft.SqlServer.Management.Smo.AvailabilityReplicaConnectionState
The current connection state.

请参阅

参考

AvailabilityReplica 类

Microsoft.SqlServer.Management.Smo 命名空间