Share via


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)

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