Méthode OrderColumnCollection.Add (OrderColumn, Int32)
Adds a OrderColumn to the collection before the column object with the specified index position.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Add ( _
orderColumn As OrderColumn, _
insertAtPosition As Integer _
)
'Utilisation
Dim instance As OrderColumnCollection
Dim orderColumn As OrderColumn
Dim insertAtPosition As Integer
instance.Add(orderColumn, insertAtPosition)
public void Add(
OrderColumn orderColumn,
int insertAtPosition
)
public:
void Add(
OrderColumn^ orderColumn,
int insertAtPosition
)
member Add :
orderColumn:OrderColumn *
insertAtPosition:int -> unit
public function Add(
orderColumn : OrderColumn,
insertAtPosition : int
)
Paramètres
- orderColumn
Type : Microsoft.SqlServer.Management.Smo.OrderColumn
The column to add to the collection.
- insertAtPosition
Type : System.Int32
The position at which to insert the column.