Udostępnij przez


OrderColumnCollection.Add Method (OrderColumn, Int32)

Adds a OrderColumn to the collection before the column object with the specified index position.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
Public Sub Add ( _
    orderColumn As OrderColumn, _
    insertAtPosition As Integer _
)
public void Add (
    OrderColumn orderColumn,
    int insertAtPosition
)
public:
void Add (
    OrderColumn^ orderColumn, 
    int insertAtPosition
)
public void Add (
    OrderColumn orderColumn, 
    int insertAtPosition
)
public function Add (
    orderColumn : OrderColumn, 
    insertAtPosition : int
)

Parameters

  • orderColumn
    The column to add to the collection.
  • insertAtPosition
    The position at which to insert the column.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.