IUserDefinedTypeFactory.CreateTableType Method
Creates an IMutableUserDefinedTableType 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 CreateTableType ( _
schema As ISchema, _
name As String _
) As IMutableUserDefinedTableType
'Usage
Dim instance As IUserDefinedTypeFactory
Dim schema As ISchema
Dim name As String
Dim returnValue As IMutableUserDefinedTableType
returnValue = instance.CreateTableType(schema, _
name)
IMutableUserDefinedTableType CreateTableType(
ISchema schema,
string name
)
IMutableUserDefinedTableType^ CreateTableType(
ISchema^ schema,
String^ name
)
abstract CreateTableType :
schema:ISchema *
name:string -> IMutableUserDefinedTableType
function CreateTableType(
schema : ISchema,
name : String
) : IMutableUserDefinedTableType
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.IMutableUserDefinedTableType
An IMutableUserDefinedClrType object.