Click or drag to resize
SqlDatabaseSetup Methods

The SqlDatabaseSetup type exposes the following members.

Methods
  NameDescription
Public methodCreateDatabase(String)
Creates a new database without logins.
Public methodCreateDatabase(String, ListSqlDatabaseLogin)
Creates a new database with logins.
Public methodCreateDatabase(String, ListSqlDatabaseLogin, Boolean)
Creates a new database with logins.
Public methodDropDatabase
Deletes a database.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExistsDatabase
Checks if a specific database exists.
Public methodExistsDatabaseUser
Checks if a specific database user or role exists.
Public methodExistsLogin
Checks if a database server login exists.
Public methodStatic memberGetConnectionString(String, String)
Gets a connection string for trusted connection.
Public methodStatic memberGetConnectionString(String, String, String, String)
Gets a connection string for SQL authentication.
Public methodGetDatabaseStatus
Retrieves the status of a database.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodTestServerConnection
Tests the connection to the database server.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpgradeDatabase
Upgrades a database to the builtin version.
Top
See Also