UserDefinedAggregateParameter 建構函式 (UserDefinedAggregate, String, DataType)
Initializes a new instance of the UserDefinedAggregateParameter class on the specified user-defined aggregate, with the specified name and with the specified data type.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub New ( _
userDefinedAggregate As UserDefinedAggregate, _
name As String, _
dataType As DataType _
)
'用途
Dim userDefinedAggregate As UserDefinedAggregate
Dim name As String
Dim dataType As DataType
Dim instance As New UserDefinedAggregateParameter(userDefinedAggregate, _
name, dataType)
public UserDefinedAggregateParameter(
UserDefinedAggregate userDefinedAggregate,
string name,
DataType dataType
)
public:
UserDefinedAggregateParameter(
UserDefinedAggregate^ userDefinedAggregate,
String^ name,
DataType^ dataType
)
new :
userDefinedAggregate:UserDefinedAggregate *
name:string *
dataType:DataType -> UserDefinedAggregateParameter
public function UserDefinedAggregateParameter(
userDefinedAggregate : UserDefinedAggregate,
name : String,
dataType : DataType
)
參數
- userDefinedAggregate
型別:Microsoft.SqlServer.Management.Smo. . :: . .UserDefinedAggregate
A UserDefinedAggregate object that specifies the user-defined aggregate to which the parameter belongs.
- name
型別:System. . :: . .String
A String value that specifies the name of the user-defined aggregate parameter.
- dataType
型別:Microsoft.SqlServer.Management.Smo. . :: . .DataType
A DataType object value that specifies the data type of the user-defined aggregate parameter.