Méthode Add (UserDefinedAggregateParameter, Int32)
Adds a UserDefinedAggregateParameter object to the UserDefinedAggregateParameterCollection object at the specified position.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Add ( _
userDefinedAggregateParameter As UserDefinedAggregateParameter, _
insertAtPosition As Integer _
)
'Utilisation
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
)
Paramètres
- userDefinedAggregateParameter
Type : Microsoft.SqlServer.Management.Smo. . :: . .UserDefinedAggregateParameter
A UserDefinedAggregateParameter object that specifies the parameter that is to be added to the UserDefinedAggregateParameterCollection object.
- insertAtPosition
Type : System. . :: . .Int32
An Int32 value that specifies the index position in the collection after which to insert the UserDefinedAggregateParameterCollection object.