共用方式為


SPClaimTypes.FarmId Property

Gets the type for the Microsoft SharePoint Foundation farm claim.

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared ReadOnly Property FarmId As String
    Get
'Usage
Dim value As String

value = SPClaimTypes.FarmId
public static string FarmId { get; }

Property Value

Type: System.String
The type for the Microsoft SharePoint Foundation farm claim.

Remarks

This property always returns https://schemas.microsoft.com/sharepoint/2009/08/claims/farmid.

See Also

Reference

SPClaimTypes Class

SPClaimTypes Members

Microsoft.SharePoint.Administration.Claims Namespace