This topic has not yet been rated - Rate this topic

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: System.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
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.