Compartir a través de


NonPooledConnection Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Common
Ensamblado:  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxis

'Declaración
Public Property NonPooledConnection As Boolean
    Get
    Set
'Uso
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)

Valor de la propiedad

Tipo: 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.