共用方式為


SPFarm.Joined Property

Gets a Boolean value that indicates whether the local server has been joined to a server farm.

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

Syntax

'Declaration
Public Shared ReadOnly Property Joined As Boolean
    Get
'Usage
Dim value As Boolean

value = SPFarm.Joined
public static bool Joined { get; }

Property Value

Type: System.Boolean
true if the local server has been joined to a server farm; otherwise, false.

See Also

Reference

SPFarm Class

SPFarm Members

Microsoft.SharePoint.Administration Namespace