共用方式為


IDatabaseFactory.CreateEmptyDatabase Method

Definition

public Microsoft.SqlServer.Management.SqlParser.Metadata.IDatabase CreateEmptyDatabase (Microsoft.SqlServer.Management.SqlParser.Metadata.IServer server, string name, Microsoft.SqlServer.Management.SqlParser.Metadata.CollationInfo collationInfo, bool isSystemObject);
abstract member CreateEmptyDatabase : Microsoft.SqlServer.Management.SqlParser.Metadata.IServer * string * Microsoft.SqlServer.Management.SqlParser.Metadata.CollationInfo * bool -> Microsoft.SqlServer.Management.SqlParser.Metadata.IDatabase
Public Function CreateEmptyDatabase (server As IServer, name As String, collationInfo As CollationInfo, isSystemObject As Boolean) As IDatabase

Parameters

server
IServer
name
String
collationInfo
CollationInfo
isSystemObject
Boolean

Returns

Applies to