Share via


IUpdateConnectionProperties.UpdateConnectionStartAndFinishTimes Method

Updates starting and finishing times for a particular connection.

Namespace:  Microsoft.SqlServer.Management.MultiServerConnection
Assembly:  Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)

Syntax

'Declaration
Sub UpdateConnectionStartAndFinishTimes ( _
    childInfo As UIConnectionInfo, _
    startTime As DateTime, _
    finishTime As DateTime _
)
'Usage
Dim instance As IUpdateConnectionProperties
Dim childInfo As UIConnectionInfo
Dim startTime As DateTime
Dim finishTime As DateTime

instance.UpdateConnectionStartAndFinishTimes(childInfo, _
    startTime, finishTime)
void UpdateConnectionStartAndFinishTimes(
    UIConnectionInfo childInfo,
    DateTime startTime,
    DateTime finishTime
)
void UpdateConnectionStartAndFinishTimes(
    UIConnectionInfo^ childInfo, 
    DateTime startTime, 
    DateTime finishTime
)
abstract UpdateConnectionStartAndFinishTimes : 
        childInfo:UIConnectionInfo * 
        startTime:DateTime * 
        finishTime:DateTime -> unit 
function UpdateConnectionStartAndFinishTimes(
    childInfo : UIConnectionInfo, 
    startTime : DateTime, 
    finishTime : DateTime
)

Parameters

  • startTime
    Type: System.DateTime
    Specifies the date and time when the query was dispatched.
  • finishTime
    Type: System.DateTime
    Specifies the date and time when the result was returned by the server.