IUserDefinedTypeFactory.CreateClrType Method
Creates an IMutableUserDefinedClrType object that belongs to the specified ISchema object and has the specified name.
Namespace: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Function CreateClrType ( _
schema As ISchema, _
name As String _
) As IMutableUserDefinedClrType
'Usage
Dim instance As IUserDefinedTypeFactory
Dim schema As ISchema
Dim name As String
Dim returnValue As IMutableUserDefinedClrType
returnValue = instance.CreateClrType(schema, _
name)
IMutableUserDefinedClrType CreateClrType(
ISchema schema,
string name
)
IMutableUserDefinedClrType^ CreateClrType(
ISchema^ schema,
String^ name
)
abstract CreateClrType :
schema:ISchema *
name:string -> IMutableUserDefinedClrType
function CreateClrType(
schema : ISchema,
name : String
) : IMutableUserDefinedClrType
Parameters
- schema
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ISchema
The ISchema object that is the parent of the type.
- name
Type: System.String
The name of the type to create.
Return Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableUserDefinedClrType
An IMutableUserDefinedClrType object.