ResultInfo Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ResultInfo class.
Overloads
ResultInfo(IResultInfo) |
Initializes a new instance of the ResultInfo class that is a copy of the specified ResultInfo object. |
ResultInfo(MultiServerSqlConnectionInfo, String, Int32) |
Initializes a new instance of the ResultInfo class by using the specified connection information, text, and starting line number. |
ResultInfo(IResultInfo)
Initializes a new instance of the ResultInfo class that is a copy of the specified ResultInfo object.
public:
ResultInfo(Microsoft::SqlServer::Management::MultiServerConnection::IResultInfo ^ other);
public ResultInfo (Microsoft.SqlServer.Management.MultiServerConnection.IResultInfo other);
new Microsoft.SqlServer.Management.MultiServerConnection.ResultInfo : Microsoft.SqlServer.Management.MultiServerConnection.IResultInfo -> Microsoft.SqlServer.Management.MultiServerConnection.ResultInfo
Public Sub New (other As IResultInfo)
Parameters
- other
- IResultInfo
The ResultInfo object to copy.
Applies to
ResultInfo(MultiServerSqlConnectionInfo, String, Int32)
Initializes a new instance of the ResultInfo class by using the specified connection information, text, and starting line number.
public:
ResultInfo(Microsoft::SqlServer::Management::MultiServerConnection::MultiServerSqlConnectionInfo ^ connectionInfo, System::String ^ batchText, int batchStartingLine);
public ResultInfo (Microsoft.SqlServer.Management.MultiServerConnection.MultiServerSqlConnectionInfo connectionInfo, string batchText, int batchStartingLine);
new Microsoft.SqlServer.Management.MultiServerConnection.ResultInfo : Microsoft.SqlServer.Management.MultiServerConnection.MultiServerSqlConnectionInfo * string * int -> Microsoft.SqlServer.Management.MultiServerConnection.ResultInfo
Public Sub New (connectionInfo As MultiServerSqlConnectionInfo, batchText As String, batchStartingLine As Integer)
Parameters
- connectionInfo
- MultiServerSqlConnectionInfo
The connection information for the server where the batch was executed.
- batchText
- String
The text of the batch that was executed.
- batchStartingLine
- 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.