다음을 통해 공유


ConnectionSettings.NonPooledConnection 속성

Gets or sets the Boolean property value that specifies whether the connection may be pooled or nonpooled.

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

구문

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

value = instance.NonPooledConnection

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

속성 값

유형: System.Boolean
A Boolean value that specifies whether the connection may be pooled or nonpooled. If True, the connection must be nonpooled and not be part of a connection pool.If False (default), the connection may be pooled and part of a connection pool.

참고 항목

참조

ConnectionSettings 클래스

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