UserDefinedAggregateParameter Constructor (UserDefinedAggregate, String)
Initializes a new instance of the UserDefinedAggregateParameter class on the specified user-defined aggregate and with the specified name.
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 _
)
public UserDefinedAggregateParameter (
UserDefinedAggregate userDefinedAggregate,
string name
)
public:
UserDefinedAggregateParameter (
UserDefinedAggregate^ userDefinedAggregate,
String^ name
)
public UserDefinedAggregateParameter (
UserDefinedAggregate userDefinedAggregate,
String name
)
public function UserDefinedAggregateParameter (
userDefinedAggregate : UserDefinedAggregate,
name : String
)
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.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Example
How to: Construct an Object 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)