UserDefinedFunctionParameter Constructor (UserDefinedFunction, String)
Initializes a new instance of the UserDefinedFunctionParameter class for the specified user-defined function and with the specified name.
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 _
)
'Usage
Dim userDefinedFunction As UserDefinedFunction
Dim name As String
Dim instance As New UserDefinedFunctionParameter(userDefinedFunction, _
name)
public UserDefinedFunctionParameter(
UserDefinedFunction userDefinedFunction,
string name
)
public:
UserDefinedFunctionParameter(
UserDefinedFunction^ userDefinedFunction,
String^ name
)
new :
userDefinedFunction:UserDefinedFunction *
name:string -> UserDefinedFunctionParameter
public function UserDefinedFunctionParameter(
userDefinedFunction : UserDefinedFunction,
name : String
)
Parameters
- userDefinedFunction
Type: Microsoft.SqlServer.Management.Smo.UserDefinedFunction
A UserDefinedFunction object that specifies the user-defined function to which the parameter belongs.
- name
Type: System.String
A String value that specifies the name of the user-defined function parameter.