UserDefinedFunctionParameter 建構函式 (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.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub New ( _
userDefinedFunction As UserDefinedFunction, _
name As String, _
dataType As DataType _
)
'用途
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
)
參數
- userDefinedFunction
型別:Microsoft.SqlServer.Management.Smo.UserDefinedFunction
A UserDefinedFunction object that specifies the user-defined function to which the parameter belongs.
- name
型別:System.String
A String value that specifies the name of the user-defined function parameter.
- dataType
型別:Microsoft.SqlServer.Management.Smo.DataType
A DataType system object value that specifies the data type of the user-defined function parameter.
範例
請參閱
參考
UserDefinedFunctionParameter 類別
UserDefinedFunctionParameter 多載
Microsoft.SqlServer.Management.Smo 命名空間