IDatabaseFactory.Create Method (IDatabase)
Creates an IMutableDatabase object that is a clone of the specified IDatabase object.
Namespace: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Function Create ( _
otherDatabase As IDatabase _
) As IMutableDatabase
'Usage
Dim instance As IDatabaseFactory
Dim otherDatabase As IDatabase
Dim returnValue As IMutableDatabase
returnValue = instance.Create(otherDatabase)
IMutableDatabase Create(
IDatabase otherDatabase
)
IMutableDatabase^ Create(
IDatabase^ otherDatabase
)
abstract Create :
otherDatabase:IDatabase -> IMutableDatabase
function Create(
otherDatabase : IDatabase
) : IMutableDatabase
Parameters
- otherDatabase
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IDatabase
The IDatabase object to clone.
Return Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableDatabase
The cloned IMutableDatabase object.