SPFarm.Open SPFarm.Open SPFarm.Open Method

Definition

Overloads

Open(String) Open(String) Open(String)
Open(SqlConnectionStringBuilder, SecureString) Open(SqlConnectionStringBuilder, SecureString) Open(SqlConnectionStringBuilder, SecureString)
Open(SqlConnectionStringBuilder, String, SecureString) Open(SqlConnectionStringBuilder, String, SecureString) Open(SqlConnectionStringBuilder, String, SecureString)
Open(SqlConnectionStringBuilder, String, String) Open(SqlConnectionStringBuilder, String, String) Open(SqlConnectionStringBuilder, String, String)

Open(String) Open(String) Open(String)

public:
 static Microsoft::SharePoint::Administration::SPFarm ^ Open(System::String ^ connectionString);
public static Microsoft.SharePoint.Administration.SPFarm Open (string connectionString);
Public Shared Function Open (connectionString As String) As SPFarm
Parameters
connectionString
String String String
Returns

Open(SqlConnectionStringBuilder, SecureString) Open(SqlConnectionStringBuilder, SecureString) Open(SqlConnectionStringBuilder, SecureString)

public:
 static Microsoft::SharePoint::Administration::SPFarm ^ Open(System::Data::SqlClient::SqlConnectionStringBuilder ^ connectionString, System::Security::SecureString ^ passphrase);
public static Microsoft.SharePoint.Administration.SPFarm Open (System.Data.SqlClient.SqlConnectionStringBuilder connectionString, System.Security.SecureString passphrase);
Public Shared Function Open (connectionString As SqlConnectionStringBuilder, passphrase As SecureString) As SPFarm
Parameters
Returns

Open(SqlConnectionStringBuilder, String, SecureString) Open(SqlConnectionStringBuilder, String, SecureString) Open(SqlConnectionStringBuilder, String, SecureString)

Warning

This API is now obsolete.

public:
 static Microsoft::SharePoint::Administration::SPFarm ^ Open(System::Data::SqlClient::SqlConnectionStringBuilder ^ connectionString, System::String ^ username, System::Security::SecureString ^ password);
[System.Obsolete("Use the SPFarm.Open method that takes a passphrase.", false)]
public static Microsoft.SharePoint.Administration.SPFarm Open (System.Data.SqlClient.SqlConnectionStringBuilder connectionString, string username, System.Security.SecureString password);
Public Shared Function Open (connectionString As SqlConnectionStringBuilder, username As String, password As SecureString) As SPFarm
Parameters
username
String String String
Returns

Open(SqlConnectionStringBuilder, String, String) Open(SqlConnectionStringBuilder, String, String) Open(SqlConnectionStringBuilder, String, String)

Warning

This API is now obsolete.

public:
 static Microsoft::SharePoint::Administration::SPFarm ^ Open(System::Data::SqlClient::SqlConnectionStringBuilder ^ connectionString, System::String ^ user, System::String ^ password);
[System.Obsolete("Use the SPFarm.Open method that takes a passphrase.", false)]
public static Microsoft.SharePoint.Administration.SPFarm Open (System.Data.SqlClient.SqlConnectionStringBuilder connectionString, string user, string password);
Public Shared Function Open (connectionString As SqlConnectionStringBuilder, user As String, password As String) As SPFarm
Parameters
password
String String String
Returns

Applies to