Partager via


Database Constructors

Definition

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

Applies to