IServerFactory.Create Method (String, CollationInfo)
Creates an IMutableServer object that has the specified name.
Namespace: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Function Create ( _
name As String, _
collationInfo As CollationInfo _
) As IMutableServer
'Usage
Dim instance As IServerFactory
Dim name As String
Dim collationInfo As CollationInfo
Dim returnValue As IMutableServer
returnValue = instance.Create(name, collationInfo)
IMutableServer Create(
string name,
CollationInfo collationInfo
)
IMutableServer^ Create(
String^ name,
CollationInfo^ collationInfo
)
abstract Create :
name:string *
collationInfo:CollationInfo -> IMutableServer
function Create(
name : String,
collationInfo : CollationInfo
) : IMutableServer
Parameters
- name
Type: System.String
The name of the server object to create.
- collationInfo
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.CollationInfo
The server collation information (for example, the master database collation).
Return Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableServer
An IMutableServer object that has the specified name.