Freigeben über


UserDefinedFunctionParameter-Konstruktor (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 _
)
'Usage
Dim userDefinedFunction As UserDefinedFunction
Dim name As String
Dim dataType As DataType

Dim instance As New UserDefinedFunctionParameter(userDefinedFunction, _
    name, dataType)
public UserDefinedFunctionParameter(
    UserDefinedFunction userDefinedFunction,
    string name,
    DataType dataType
)
public:
UserDefinedFunctionParameter(
    UserDefinedFunction^ userDefinedFunction, 
    String^ name, 
    DataType^ dataType
)
new : 
        userDefinedFunction:UserDefinedFunction * 
        name:string * 
        dataType:DataType -> UserDefinedFunctionParameter
public function UserDefinedFunctionParameter(
    userDefinedFunction : UserDefinedFunction, 
    name : String, 
    dataType : DataType
)

Parameter