共用方式為


SPFarm.Join Method

Adds the local computer to the server farm.

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

Syntax

'Declaration
Public Sub Join
'Usage
Dim instance As SPFarm

instance.Join()
public void Join()

Remarks

The server farm is defined in the configuration database that is pointed to by the local computer. If there is no configuration database, a new farm is created.

See Also

Reference

SPFarm Class

SPFarm Members

Microsoft.SharePoint.Administration Namespace