Database Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Database() | |
Database(Server, String) | |
Database(Server, String, DatabaseEngineEdition) |
Constructs a new Database object to be created with the given edition |
Database()
public Database ();
Public Sub New ()
Applies to
Database(Server, String)
public Database (Microsoft.SqlServer.Management.Smo.Server server, string name);
new Microsoft.SqlServer.Management.Smo.Database : Microsoft.SqlServer.Management.Smo.Server * string -> Microsoft.SqlServer.Management.Smo.Database
Public Sub New (server As Server, name As String)
Parameters
- server
- Server
- name
- String
Applies to
Database(Server, String, DatabaseEngineEdition)
Constructs a new Database object to be created with the given edition
public Database (Microsoft.SqlServer.Management.Smo.Server server, string name, Microsoft.SqlServer.Management.Common.DatabaseEngineEdition edition);
new Microsoft.SqlServer.Management.Smo.Database : Microsoft.SqlServer.Management.Smo.Server * string * Microsoft.SqlServer.Management.Common.DatabaseEngineEdition -> Microsoft.SqlServer.Management.Smo.Database
Public Sub New (server As Server, name As String, edition As DatabaseEngineEdition)
Parameters
- server
- Server
- name
- String
- edition
- DatabaseEngineEdition