Click or drag to resize
SqlDatabaseSetup Class
Provides setup functionality for SQL Server databases.
Inheritance Hierarchy
SystemObject
  PDTec.IceNet.Sdk.Database.SqlSqlDatabaseSetup

Namespace: PDTec.IceNet.Sdk.Database.Sql
Assembly: PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 6.0.0.0 (6.0.6225.27214)
Syntax
C#
public sealed class SqlDatabaseSetup

The SqlDatabaseSetup type exposes the following members.

Constructors
  NameDescription
Public methodSqlDatabaseSetup(String)
Creates a DatabaseSetup instance with trusted connection login.
Public methodSqlDatabaseSetup(String, String, String)
Creates a DatabaseSetup instance with SQL login.
Top
Properties
  NameDescription
Public propertyStatic memberDatabaseSchemaVersion
Gets the builtin database schema version.
Public propertyDatabaseServer
Gets the database server string.
Public propertyInitialSettings
Gets the settings that will be applied to new databases.
Public propertySetupLogin
Gets the setup login credentials.
Top
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
Events
  NameDescription
Public eventDisplayMessage
Event to display messages from the setup procedure.
Public eventTimeForApplicationEvents
Event to process application events to avoid blocking.
Top
See Also