ISchemaFactory.Create Method (IDatabase, String)

Creates an IMutableSchema object that belongs to the specified IDatabase 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 ( _
    database As IDatabase, _
    name As String _
) As IMutableSchema
'Usage
Dim instance As ISchemaFactory 
Dim database As IDatabase 
Dim name As String 
Dim returnValue As IMutableSchema 

returnValue = instance.Create(database, _
    name)
IMutableSchema Create(
    IDatabase database,
    string name
)
IMutableSchema^ Create(
    IDatabase^ database, 
    String^ name
)
abstract Create : 
        database:IDatabase * 
        name:string -> IMutableSchema
function Create(
    database : IDatabase, 
    name : String
) : IMutableSchema

Parameters

  • name
    Type: System.String
    The name of the schema object to create.

Return Value

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

See Also

Reference

ISchemaFactory Interface

Create Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace