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