Export (0) Print
Expand All

IDatabaseFactory Interface

Defines methods that are used to create database objects.

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

public interface IDatabaseFactory

The IDatabaseFactory type exposes the following members.

Public methodCreate(IDatabase)Creates an IMutableDatabase object that is a clone of the specified IDatabase object.
Public methodCreate(IServer, String, CollationInfo)Creates an IMutableDatabase object that belongs to the specified IServer object and has the specified name.
Public methodCreateEmptyDatabaseCreates an empty IDatabase object (all collections are empty).
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft