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 (in microsoft.sqlserver.smo.dll)
语法
声明
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
)
参数
- 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.
备注
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。
示例
How to: Construct an Object in Visual Basic .NET
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
UserDefinedFunctionParameter Class
UserDefinedFunctionParameter Members
Microsoft.SqlServer.Management.Smo Namespace