IUpdateConnectionProperties.UpdateConnectionStartAndFinishTimes 方法

定义

更新特定连接的开始和结束时间。

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

指定服务器返回结果的日期和时间。

适用于