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)