ISchemaFactory Interface

Defines methods that can be used to create schema objects.

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

Syntax

'Declaration
Public Interface ISchemaFactory
'Usage
Dim instance As ISchemaFactory
public interface ISchemaFactory
public interface class ISchemaFactory
type ISchemaFactory =  interface end
public interface ISchemaFactory

The ISchemaFactory type exposes the following members.

Methods

  Name Description
Public method Create(ISchema) Creates an IMutableSchema object that is a clone of the specified ISchema object.
Public method Create(IDatabase, String) Creates an IMutableSchema object that belongs to the specified IDatabase object and has the specified name.
Public method CreateEmptySchema Creates an empty ISchema object (all collections are empty).

Top

See Also

Reference

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace