IUserDefinedFunctionFactory.CreateTableValuedFunction Method
Creates an ITableValuedFunction 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 CreateTableValuedFunction ( _
schema As ISchema, _
name As String _
) As IMutableTableValuedFunction
'Usage
Dim instance As IUserDefinedFunctionFactory
Dim schema As ISchema
Dim name As String
Dim returnValue As IMutableTableValuedFunction
returnValue = instance.CreateTableValuedFunction(schema, _
name)
IMutableTableValuedFunction CreateTableValuedFunction(
ISchema schema,
string name
)
IMutableTableValuedFunction^ CreateTableValuedFunction(
ISchema^ schema,
String^ name
)
abstract CreateTableValuedFunction :
schema:ISchema *
name:string -> IMutableTableValuedFunction
function CreateTableValuedFunction(
schema : ISchema,
name : String
) : IMutableTableValuedFunction
Parameters
- schema
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ISchema
The ISchema object that is the parent of the function.
- name
Type: System.String
The name of the function to create.
Return Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableTableValuedFunction
An ITableValuedFunction object.
See Also
Reference
IUserDefinedFunctionFactory Interface
Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace