Udostępnij przez


OrderColumnCollection.Add Method (OrderColumn, String)

Inserts a new object into the collection, before the column with the specified name.

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

Syntax

'Deklaracja
Public Sub Add ( _
    orderColumn As OrderColumn, _
    insertAtColumnName As String _
)
public void Add (
    OrderColumn orderColumn,
    string insertAtColumnName
)
public:
void Add (
    OrderColumn^ orderColumn, 
    String^ insertAtColumnName
)
public void Add (
    OrderColumn orderColumn, 
    String insertAtColumnName
)
public function Add (
    orderColumn : OrderColumn, 
    insertAtColumnName : String
)

Parameters

  • orderColumn
    The column to add to the collection.
  • insertAtColumnName
    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.