Add 方法 (IndexedColumn, Int32)
Adds an IndexedColumn object at a specified index position in the IndexedColumnCollection collection.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub Add ( _
indexedColumn As IndexedColumn, _
insertAtPosition As Integer _
)
用法
Dim instance As IndexedColumnCollection
Dim indexedColumn As IndexedColumn
Dim insertAtPosition As Integer
instance.Add(indexedColumn, insertAtPosition)
public void Add(
IndexedColumn indexedColumn,
int insertAtPosition
)
public:
void Add(
IndexedColumn^ indexedColumn,
int insertAtPosition
)
member Add :
indexedColumn:IndexedColumn *
insertAtPosition:int -> unit
public function Add(
indexedColumn : IndexedColumn,
insertAtPosition : int
)
参数
- indexedColumn
类型:Microsoft.SqlServer.Management.Smo. . :: . .IndexedColumn
An IndexedColumn object value that is to be added into the IndexedColumnCollection column collection.
- insertAtPosition
类型:System. . :: . .Int32
An Int32 value that specifies the index position of the IndexedColumnCollection collection.