UserDefinedAggregateParameter Constructor (UserDefinedAggregate, String, DataType)
Initializes a new instance of the UserDefinedAggregateParameter class on the specified user-defined aggregate, with the specified name and with the specified data type.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Declaration
Public Sub New ( _
userDefinedAggregate As UserDefinedAggregate, _
name As String, _
dataType As DataType _
)
public UserDefinedAggregateParameter (
UserDefinedAggregate userDefinedAggregate,
string name,
DataType dataType
)
public:
UserDefinedAggregateParameter (
UserDefinedAggregate^ userDefinedAggregate,
String^ name,
DataType^ dataType
)
public UserDefinedAggregateParameter (
UserDefinedAggregate userDefinedAggregate,
String name,
DataType dataType
)
public function UserDefinedAggregateParameter (
userDefinedAggregate : UserDefinedAggregate,
name : String,
dataType : DataType
)
Parameters
- userDefinedAggregate
A UserDefinedAggregate object that specifies the user-defined aggregate to which the parameter belongs.
- name
A String value that specifies the name of the user-defined aggregate parameter.
- dataType
A DataType object value that specifies the data type of the user-defined aggregate parameter.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Example
How to: Get and Set a Property 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
UserDefinedAggregateParameter Class
UserDefinedAggregateParameter Members
Microsoft.SqlServer.Management.Smo Namespace
Other Resources
Creating User-defined Aggregates
CREATE AGGREGATE (Transact-SQL)