Enlist Property

SqlConnectionStringBuilder.Enlist Property


Gets or sets a Boolean value that indicates whether the SQL Server connection pooler automatically enlists the connection in the creation thread's current transaction context.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

member Enlist : bool with get, set

Property Value

Type: System.Boolean

The value of the Enlist property, or true if none has been supplied.

This property corresponds to the "Enlist" key within the connection string.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft