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.