IUpdateConnectionProperties.UpdateConnectionStartAndFinishTimes(UIConnectionInfo, DateTime, DateTime) 方法

定義

更新特定連接的開始和結束時間。

public:
 void UpdateConnectionStartAndFinishTimes(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ childInfo, DateTime startTime, DateTime finishTime);
public void UpdateConnectionStartAndFinishTimes (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo childInfo, DateTime startTime, DateTime finishTime);
abstract member UpdateConnectionStartAndFinishTimes : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo * DateTime * DateTime -> unit
Public Sub UpdateConnectionStartAndFinishTimes (childInfo As UIConnectionInfo, startTime As DateTime, finishTime As DateTime)

參數

childInfo
UIConnectionInfo

指定連接資訊。

startTime
DateTime

指定分派查詢的日期和時間。

finishTime
DateTime

指定伺服器傳回結果的日期和時間。

適用於