Freigeben über


UserDefinedAggregateParameter-Konstruktor (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
)

Parameter

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

Beispiele

Erstellen benutzerdefinierter Aggregate

Siehe auch

Verweis

UserDefinedAggregateParameter Klasse

UserDefinedAggregateParameter-Überladung

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

CREATE AGGREGATE (Transact-SQL)