Dela via


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 _
)
'Usage
Dim userDefinedAggregate As UserDefinedAggregate
Dim name As String

Dim instance As New UserDefinedAggregateParameter(userDefinedAggregate, _
    name)
public UserDefinedAggregateParameter(
    UserDefinedAggregate userDefinedAggregate,
    string name
)
public:
UserDefinedAggregateParameter(
    UserDefinedAggregate^ userDefinedAggregate, 
    String^ name
)
new : 
        userDefinedAggregate:UserDefinedAggregate * 
        name:string -> UserDefinedAggregateParameter
public function UserDefinedAggregateParameter(
    userDefinedAggregate : UserDefinedAggregate, 
    name : String
)

Parameters

  • name
    Type: System.String
    A String value that specifies the name of the user-defined aggregate parameter.