SPTimerJobUsageEntry.WebApplicationId property
取得或設定與計時器工作相關聯的 Web 應用程式的唯一識別碼。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property WebApplicationId As Guid
Get
Set
'用途
Dim instance As SPTimerJobUsageEntry
Dim value As Guid
value = instance.WebApplicationId
instance.WebApplicationId = value
public Guid WebApplicationId { get; set; }
Property value
Type: System.Guid
在 [範圍的 Web 應用程式中,執行工作時,會傳回Guid否則,會傳回a null reference (Nothing in Visual Basic)。
備註
在 [Web 應用程式範圍執行的計時器工作,您可檢視和篩選的 Web 應用程式工作定義。這些工作,記錄項目包含 Web 應用程式名稱和識別碼。如果未執行中的 Web 應用程式範圍,這個值應該是a null reference (Nothing in Visual Basic)。