SPExecutionTimeCounter.ElapsedTime property
取得要完成的作業所花費的時間。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property ElapsedTime As TimeSpan
Get
'用途
Dim instance As SPExecutionTimeCounter
Dim value As TimeSpan
value = instance.ElapsedTime
public TimeSpan ElapsedTime { get; }
Property value
Type: System.TimeSpan
TimeSpan 物件,表示完成該作業所花費的時間。