Share via


IDatabaseFactory.Create Method (IServer, String, CollationInfo)

Creates an IMutableDatabase object that belongs to the specified IServer object and has the specified name.

Namespace:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Function Create ( _
    server As IServer, _
    name As String, _
    collationInfo As CollationInfo _
) As IMutableDatabase
'Usage
Dim instance As IDatabaseFactory
Dim server As IServer
Dim name As String
Dim collationInfo As CollationInfo
Dim returnValue As IMutableDatabase

returnValue = instance.Create(server, _
    name, collationInfo)
IMutableDatabase Create(
    IServer server,
    string name,
    CollationInfo collationInfo
)
IMutableDatabase^ Create(
    IServer^ server, 
    String^ name, 
    CollationInfo^ collationInfo
)
abstract Create : 
        server:IServer * 
        name:string * 
        collationInfo:CollationInfo -> IMutableDatabase 
function Create(
    server : IServer, 
    name : String, 
    collationInfo : CollationInfo
) : IMutableDatabase

Parameters

Return Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableDatabase
An IMutableDatabase object that belongs to the specified IServer object and has the specified name.