ResultInfo Constructor (MultiServerSqlConnectionInfo, String, Int32)
Initializes a new instance of the ResultInfo class by using the specified connection information, text, and starting line number.
Namespace: Microsoft.SqlServer.Management.MultiServerConnection
Assembly: Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)
Syntax
'Declaration
Public Sub New ( _
connectionInfo As MultiServerSqlConnectionInfo, _
batchText As String, _
batchStartingLine As Integer _
)
'Usage
Dim connectionInfo As MultiServerSqlConnectionInfo
Dim batchText As String
Dim batchStartingLine As Integer
Dim instance As New ResultInfo(connectionInfo, _
batchText, batchStartingLine)
public ResultInfo(
MultiServerSqlConnectionInfo connectionInfo,
string batchText,
int batchStartingLine
)
public:
ResultInfo(
MultiServerSqlConnectionInfo^ connectionInfo,
String^ batchText,
int batchStartingLine
)
new :
connectionInfo:MultiServerSqlConnectionInfo *
batchText:string *
batchStartingLine:int -> ResultInfo
public function ResultInfo(
connectionInfo : MultiServerSqlConnectionInfo,
batchText : String,
batchStartingLine : int
)
Parameters
- connectionInfo
Type: Microsoft.SqlServer.Management.MultiServerConnection.MultiServerSqlConnectionInfo
The connection information for the server where the batch was executed.
- batchText
Type: System.String
The text of the batch that was executed.
- batchStartingLine
Type: System.Int32
The line number in the editor that is the starting position of the batch or 0 if the Transact-SQL did not come from the editor.