UserDefinedAggregateParameterCollection.Add 方法 (UserDefinedAggregateParameter, Int32)
Adds a UserDefinedAggregateParameter object to the UserDefinedAggregateParameterCollection object at the specified position.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Add ( _
userDefinedAggregateParameter As UserDefinedAggregateParameter, _
insertAtPosition As Integer _
)
'用途
Dim instance As UserDefinedAggregateParameterCollection
Dim userDefinedAggregateParameter As UserDefinedAggregateParameter
Dim insertAtPosition As Integer
instance.Add(userDefinedAggregateParameter, _
insertAtPosition)
public void Add(
UserDefinedAggregateParameter userDefinedAggregateParameter,
int insertAtPosition
)
public:
void Add(
UserDefinedAggregateParameter^ userDefinedAggregateParameter,
int insertAtPosition
)
member Add :
userDefinedAggregateParameter:UserDefinedAggregateParameter *
insertAtPosition:int -> unit
public function Add(
userDefinedAggregateParameter : UserDefinedAggregateParameter,
insertAtPosition : int
)
參數
- userDefinedAggregateParameter
型別:Microsoft.SqlServer.Management.Smo.UserDefinedAggregateParameter
A UserDefinedAggregateParameter object that specifies the parameter that is to be added to the UserDefinedAggregateParameterCollection object.
- insertAtPosition
型別:System.Int32
An Int32 value that specifies the index position in the collection after which to insert the UserDefinedAggregateParameterCollection object.