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)

public:
property bool Enlist {
	bool get();
	void set(bool value);
}

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
Show: