SPGlobalAdmin.CreateConfigDatabase Method

Definition

Overloads

CreateConfigDatabase(String, String, String, String)
Obsolete.
CreateConfigDatabase(String, String, String, String, Boolean, Boolean, String, String)
Obsolete.

CreateConfigDatabase(String, String, String, String)

Caution

Use SPFarm.Create instead.

public:
 Microsoft::SharePoint::Administration::SPConfigDatabase ^ CreateConfigDatabase(System::String ^ strDatabaseServer, System::String ^ strDatabaseName, System::String ^ strUserName, System::String ^ strPassword);
[System.Obsolete("Use SPFarm.Create instead.")]
public Microsoft.SharePoint.Administration.SPConfigDatabase CreateConfigDatabase (string strDatabaseServer, string strDatabaseName, string strUserName, string strPassword);
member this.CreateConfigDatabase : string * string * string * string -> Microsoft.SharePoint.Administration.SPConfigDatabase
Public Function CreateConfigDatabase (strDatabaseServer As String, strDatabaseName As String, strUserName As String, strPassword As String) As SPConfigDatabase

Parameters

strDatabaseServer
String
strDatabaseName
String
strUserName
String
strPassword
String

Returns

SPConfigDatabase
Attributes

Applies to

CreateConfigDatabase(String, String, String, String, Boolean, Boolean, String, String)

Caution

Use SPFarm.Create instead.

public:
 Microsoft::SharePoint::Administration::SPConfigDatabase ^ CreateConfigDatabase(System::String ^ strDatabaseServer, System::String ^ strDatabaseName, System::String ^ strUserName, System::String ^ strPassword, bool bHostHeaderAsSiteName, bool bIsADMode, System::String ^ strADDomain, System::String ^ strADOU);
[System.Obsolete("Use SPFarm.Create instead.")]
public Microsoft.SharePoint.Administration.SPConfigDatabase CreateConfigDatabase (string strDatabaseServer, string strDatabaseName, string strUserName, string strPassword, bool bHostHeaderAsSiteName, bool bIsADMode, string strADDomain, string strADOU);
member this.CreateConfigDatabase : string * string * string * string * bool * bool * string * string -> Microsoft.SharePoint.Administration.SPConfigDatabase
Public Function CreateConfigDatabase (strDatabaseServer As String, strDatabaseName As String, strUserName As String, strPassword As String, bHostHeaderAsSiteName As Boolean, bIsADMode As Boolean, strADDomain As String, strADOU As String) As SPConfigDatabase

Parameters

strDatabaseServer
String
strDatabaseName
String
strUserName
String
strPassword
String
bHostHeaderAsSiteName
Boolean
bIsADMode
Boolean
strADDomain
String
strADOU
String

Returns

SPConfigDatabase
Attributes

Applies to