다음을 통해 공유


ConnectionManager.InUse 속성

Gets or sets the Boolean property value that specifies whether the connection is being used.

네임스페이스:  Microsoft.SqlServer.Management.Common
어셈블리:  Microsoft.SqlServer.ConnectionInfo(Microsoft.SqlServer.ConnectionInfo.dll)

구문

‘선언
Public Property InUse As Boolean 
    Get 
    Set
‘사용 방법
Dim instance As ConnectionManager 
Dim value As Boolean 

value = instance.InUse

instance.InUse = value
public bool InUse { get; set; }
public:
property bool InUse {
    bool get ();
    void set (bool value);
}
member InUse : bool with get, set
function get InUse () : boolean 
function set InUse (value : boolean)

속성 값

유형: System.Boolean
A Boolean object value that specifies whether the connection is in use.If True, the connection is in use.If False (default), the connection is not in use.

참고 항목

참조

ConnectionManager 클래스

Microsoft.SqlServer.Management.Common 네임스페이스