共用方式為


SPTimerJobUsageEntry.ServiceId Property

Gets or sets a value that uniquely identifies the SPService instance that is associated with the timer job.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property ServiceId As Guid
    Get
    Set
'Usage
Dim instance As SPTimerJobUsageEntry
Dim value As Guid

value = instance.ServiceId

instance.ServiceId = value
public Guid ServiceId { get; set; }

Property Value

Type: System.Guid
Returns a Guid value.

See Also

Reference

SPTimerJobUsageEntry Class

SPTimerJobUsageEntry Members

Microsoft.SharePoint.Administration Namespace