共用方式為


IDatabaseFactory.Create Method

Definition

Overloads

Create(IDatabase)
Create(IServer, String, CollationInfo)

Create(IDatabase)

public Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableDatabase Create (Microsoft.SqlServer.Management.SqlParser.Metadata.IDatabase otherDatabase);
abstract member Create : Microsoft.SqlServer.Management.SqlParser.Metadata.IDatabase -> Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableDatabase
Public Function Create (otherDatabase As IDatabase) As IMutableDatabase

Parameters

otherDatabase
IDatabase

Returns

Applies to

Create(IServer, String, CollationInfo)

public Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableDatabase Create (Microsoft.SqlServer.Management.SqlParser.Metadata.IServer server, string name, Microsoft.SqlServer.Management.SqlParser.Metadata.CollationInfo collationInfo);
abstract member Create : Microsoft.SqlServer.Management.SqlParser.Metadata.IServer * string * Microsoft.SqlServer.Management.SqlParser.Metadata.CollationInfo -> Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableDatabase
Public Function Create (server As IServer, name As String, collationInfo As CollationInfo) As IMutableDatabase

Parameters

server
IServer
name
String
collationInfo
CollationInfo

Returns

Applies to