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
)
參數
configurationDatabase
Type: System.Data.SqlClient.SqlConnectionStringBuilder指定新的伺服器陣列設定資料庫連線字串SqlConnectionStringBuilder物件。
傳回值
Type: Microsoft.SharePoint.Administration.SPFarm
表示新的伺服器陣列的SPFarm物件。
備註
網路服務帳戶是伺服器陣列帳戶會建立。