共用方式為


ConnectionManager.IsForceDisconnected 屬性

Gets a Boolean value that specifies whether the connection was forcibly disconnected.

命名空間:  Microsoft.SqlServer.Management.Common
組件:  Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)

語法

'宣告
Public ReadOnly Property IsForceDisconnected As Boolean 
    Get
'用途
Dim instance As ConnectionManager 
Dim value As Boolean 

value = instance.IsForceDisconnected
public bool IsForceDisconnected { get; }
public:
virtual property bool IsForceDisconnected {
    bool get () sealed;
}
abstract IsForceDisconnected : bool 
override IsForceDisconnected : bool
final function get IsForceDisconnected () : boolean

屬性值

型別:System.Boolean
A Boolean value that specifies whether the connection was forcibly disconnected.

請參閱

參考

ConnectionManager 類別

Microsoft.SqlServer.Management.Common 命名空間