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

NameDescription
System_CAPS_pubmethodCreate(IDatabase)

Creates an IMutableDatabase object that is a clone of the specified IDatabase object.

System_CAPS_pubmethodCreate(IServer, String, CollationInfo)

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

System_CAPS_pubmethodCreateEmptyDatabase(IServer, String, CollationInfo, Boolean)

Creates an empty IDatabase object (all collections are empty).

Return to top
Show: