共用方式為


UserDefinedAggregateParameter 建構函式 (UserDefinedAggregate, String)

Initializes a new instance of the UserDefinedAggregateParameter class on the specified user-defined aggregate and with the specified name.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub New ( _
    userDefinedAggregate As UserDefinedAggregate, _
    name As String _
)
'用途
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
)

參數

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

範例

建立使用者定義彙總

請參閱

參考

UserDefinedAggregateParameter 類別

UserDefinedAggregateParameter 多載

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE AGGREGATE (Transact-SQL)