共用方式為


SPUsageEntry.FarmId Property

The identifier for the farm where this usage entry originated.

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

Syntax

'Declaration
Public Overridable Property FarmId As Guid
    Get
    Set
'Usage
Dim instance As SPUsageEntry
Dim value As Guid

value = instance.FarmId

instance.FarmId = value
public virtual Guid FarmId { get; set; }

Property Value

Type: System.Guid
Returns a Guid identifying the farm from which the usage entry came.

See Also

Reference

SPUsageEntry Class

SPUsageEntry Members

Microsoft.SharePoint.Administration Namespace