Export (0) Print
Expand All

ConnectionSettings.MultipleActiveResultSets Property

Gets or sets the Boolean property value that specifies whether more than one active result set is permitted.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

public bool MultipleActiveResultSets { get; set; }

Property Value

Type: Boolean
A Boolean value that specifies whether more than one active result set is permitted.If True, multiple active result sets are permitted.If False (default), multiple active result sets are not permitted.

'Connect to the local, default instance of SQL Server.
Dim srv As Server
srv = New Server
'Allow multiple active results sets over the connection.
srv.ConnectionContext.MultipleActiveResultSets = True

Community Additions

ADD
Show:
© 2014 Microsoft