共用方式為


SPFarm.Joined property

取得 Boolean 值,指出本機伺服器是否已加入至伺服器陣列。

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

Syntax

'宣告
Public Shared ReadOnly Property Joined As Boolean
    Get
'用途
Dim value As Boolean

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

Property value

Type: System.Boolean
true本機伺服器已加入至伺服器陣列 ; 如果否則,請false。

請參閱

參照

SPFarm class

SPFarm members

Microsoft.SharePoint.Administration namespace