다음을 통해 공유


SPFarm.Create Method (SqlConnectionStringBuilder)

Creates a server farm, its associated configuration database, and a farm account on the local computer.

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

Syntax

'Declaration
Public Shared Function Create ( _
    configurationDatabase As SqlConnectionStringBuilder _
) As SPFarm
'Usage
Dim configurationDatabase As SqlConnectionStringBuilder
Dim returnValue As SPFarm

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

Parameters

Return Value

Type: Microsoft.SharePoint.Administration.SPFarm
An SPFarm object that represents the new server farm.

Remarks

The Network Service account is the server farm account that is created.

See Also

Reference

SPFarm Class

SPFarm Members

Create Overload

Microsoft.SharePoint.Administration Namespace