Share via


UserDefinedFunctionParameter Constructor (UserDefinedFunction, String, DataType)

Initializes a new instance of the UserDefinedFunctionParameter class for the specified user-defined function, with the specified name and specified data type.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public Sub New ( _
    userDefinedFunction As UserDefinedFunction, _
    name As String, _
    dataType As DataType _
)
public UserDefinedFunctionParameter (
    UserDefinedFunction userDefinedFunction,
    string name,
    DataType dataType
)
public:
UserDefinedFunctionParameter (
    UserDefinedFunction^ userDefinedFunction, 
    String^ name, 
    DataType^ dataType
)
public UserDefinedFunctionParameter (
    UserDefinedFunction userDefinedFunction, 
    String name, 
    DataType dataType
)
public function UserDefinedFunctionParameter (
    userDefinedFunction : UserDefinedFunction, 
    name : String, 
    dataType : DataType
)

Parameters

  • userDefinedFunction
    A UserDefinedFunction object that specifies the user-defined function to which the parameter belongs.
  • name
    A String value that specifies the name of the user-defined function parameter.
  • dataType
    A DataType system object value that specifies the data type of the user-defined function parameter.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Construct an Object in Visual Basic .NET

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

UserDefinedFunctionParameter Class
UserDefinedFunctionParameter Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

User-defined Functions (Database Engine)
CREATE FUNCTION (Transact-SQL)