다음을 통해 공유


ResultInfo 생성자 (MultiServerSqlConnectionInfo, String, Int32)

Initializes a new instance of the ResultInfo class by using the specified connection information, text, and starting line number.

네임스페이스:  Microsoft.SqlServer.Management.MultiServerConnection
어셈블리:  Microsoft.SqlServer.Management.MultiServerConnection(Microsoft.SqlServer.Management.MultiServerConnection.dll)

구문

‘선언
Public Sub New ( _
    connectionInfo As MultiServerSqlConnectionInfo, _
    batchText As String, _
    batchStartingLine As Integer _
)
‘사용 방법
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
)

매개 변수

  • batchText
    유형: System.String
    The text of the batch that was executed.
  • batchStartingLine
    유형: 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.

참고 항목

참조

ResultInfo 클래스

ResultInfo 오버로드

Microsoft.SqlServer.Management.MultiServerConnection 네임스페이스