SPDatabaseParameters members
Represents the parameters for creating new SPDatabase objects.
The SPDatabaseParameters type exposes the following members.
Properties
Name | Description | |
---|---|---|
Database | Gets the database name to use for the database connection. | |
FailoverPartner | Gets the name of the failover server. | |
Password | Gets the password to use for the database connection. | |
Server | Gets the name of the server to use for the database connection. | |
Username | Gets the username to use for the database connection. |
Top
Methods
Name | Description | |
---|---|---|
CreateParameters(String, SPDatabaseParameterOptions) | Creates a new database parameters object by using the specified parameters. | |
CreateParameters(String, String, SPDatabaseParameterOptions) | Creates a new database parameters object by using the specified parameters. | |
CreateParameters(String, String, NetworkCredential, String, SPDatabaseParameterOptions) | Creates a new database parameters object by using the specified parameters. | |
CreateParameters(String, String, String, SecureString, String, SPDatabaseParameterOptions) | Creates a new database parameters object by using the specified parameters. | |
CreateParameters(String, String, String, String, String, SPDatabaseParameterOptions) | Creates a new database parameters object by using the specified parameters. | |
EnsureServiceInstance | Ensures the SPDatabaseServiceInstance specified by the database parameters is initialized. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FromConnectionString | Creates a new database parameters object using the specified database connection string. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
Validate | Validates the database parameters. |
Top