共用方式為


SPFarm.Create method (SqlConnectionStringBuilder)

本機電腦上建立伺服器陣列、 其關聯的設定資料庫與伺服器陣列帳戶。

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

Syntax

'宣告
Public Shared Function Create ( _
    configurationDatabase As SqlConnectionStringBuilder _
) As SPFarm
'用途
Dim configurationDatabase As SqlConnectionStringBuilder
Dim returnValue As SPFarm

returnValue = SPFarm.Create(configurationDatabase)
public static SPFarm Create(
    SqlConnectionStringBuilder configurationDatabase
)

參數

傳回值

Type: Microsoft.SharePoint.Administration.SPFarm
表示新的伺服器陣列的SPFarm物件。

備註

網路服務帳戶是伺服器陣列帳戶會建立。

請參閱

參照

SPFarm class

SPFarm members

Create overload

Microsoft.SharePoint.Administration namespace