共用方式為


IndexedColumnCollection Class

Definition

Strongly typed list of MAPPED_TYPE objects Has strongly typed support for all of the methods of the sorted list class

public sealed class IndexedColumnCollection : Microsoft.SqlServer.Management.Smo.ParameterCollectionBase
type IndexedColumnCollection = class
    inherit ParameterCollectionBase
Public NotInheritable Class IndexedColumnCollection
Inherits ParameterCollectionBase
Inheritance

Fields

initialized (Inherited from AbstractCollectionBase)

Properties

Count (Inherited from SmoCollectionBase)
IsSynchronized (Inherited from SmoCollectionBase)
Item[Int32]
Item[String]
Parent
ParentInstance (Inherited from AbstractCollectionBase)
SyncRoot (Inherited from SmoCollectionBase)

Methods

Add(IndexedColumn, Int32)
Add(IndexedColumn, String)
Add(IndexedColumn)
AddExisting(SqlSmoObject) (Inherited from AbstractCollectionBase)
AddImpl(SqlSmoObject, Int32) (Inherited from ArrayListCollectionBase)
ClearAndInitialize(String, IEnumerable<String>)

Clears old objects and initializes the collection

(Inherited from SmoCollectionBase)
Contains(String) (Inherited from ParameterCollectionBase)
CopyTo(IndexedColumn[], Int32)
GetCollectionElementType() (Inherited from SmoCollectionBase)
GetEnumerator()

Returns an enumerator after making sure the collection is initialized with the default properties

(Inherited from SmoCollectionBase)
GetItemById(Int32, String) (Inherited from SmoCollectionBase)
GetItemById(Int32) (Inherited from SmoCollectionBase)
GetObjectByIndex(Int32) (Inherited from SmoCollectionBase)
ImplAddExisting(SqlSmoObject)

Inserts the object into the collection. Because the key is the name, we need to insert in the order of ID

(Inherited from ParameterCollectionBase)
InitializeChildCollection()

Initialize the child collection

(Inherited from SmoCollectionBase)
InitializeChildCollection(Boolean)

Initializes the child collection, optionally keeping all the old objects

(Inherited from SmoCollectionBase)
InitInnerCollection() (Inherited from ParameterCollectionBase)
ItemById(Int32)
Refresh() (Inherited from SmoCollectionBase)
Refresh(Boolean) (Inherited from SmoCollectionBase)
Remove(IndexedColumn)
Remove(String) (Inherited from ParameterCollectionBase)
ResetCollection()

Empties the collection but doesn't attempt to retrieve any data

(Inherited from SmoCollectionBase)
ValidateParentObject(SqlSmoObject) (Inherited from SmoCollectionBase)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32) (Inherited from SmoCollectionBase)

Applies to