Метод | Описание | |
---|---|---|
CreateAndInstallDatabase ( |
||
CreateDatabase ( string serverName, string databaseName, string directory ) : void | ||
DeleteDatabase ( string serverName, string databaseName, string directory ) : void | ||
DeleteDatabaseFiles ( string databaseName, string directory ) : void | ||
InstallDatabase ( string connectionString ) : void |
Метод | Описание | |
---|---|---|
CreateDb ( Server server, string databaseName, string directory ) : Database | ||
CreateLogin ( Server server, NamedSmoObject db, string loginName ) : void | ||
CreateSqlLoginForCurrentUser ( Server server, NamedSmoObject db, IIdentity identity ) : void | ||
CreateSqlUserForCurrentUser ( Database db, IIdentity currentIdentity ) : void | ||
CreateSqlUsersGroup ( Server server, Database db ) : void | ||
CreateUser ( Database db, string login, string userName ) : void | ||
DeleteFile ( string path ) : void | ||
DetachDatabase ( string serverName, string databaseName ) : void | ||
FindUserByLogin ( Database db, string login ) : User |
public static CreateAndInstallDatabase ( |
||
connectionString | ||
databaseName | string | |
directory | string | |
Результат | void |
public static CreateDatabase ( string serverName, string databaseName, string directory ) : void | ||
serverName | string | |
databaseName | string | |
directory | string | |
Результат | void |
public static DeleteDatabase ( string serverName, string databaseName, string directory ) : void | ||
serverName | string | |
databaseName | string | |
directory | string | |
Результат | void |
public static DeleteDatabaseFiles ( string databaseName, string directory ) : void | ||
databaseName | string | |
directory | string | |
Результат | void |
public static InstallDatabase ( string connectionString ) : void | ||
connectionString | string | |
Результат | void |