ColumnCollection Class
The ColumnCollection class represents a collection of Column objects that represent all the columns defined on a table.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public NotInheritable Class ColumnCollection _
Inherits ParameterCollectionBase
'Usage
Dim instance As ColumnCollection
public sealed class ColumnCollection : ParameterCollectionBase
public ref class ColumnCollection sealed : public ParameterCollectionBase
[<SealedAttribute>]
type ColumnCollection =
class
inherit ParameterCollectionBase
end
public final class ColumnCollection extends ParameterCollectionBase
Remarks
A ColumnCollection object can be used to gain access to a set of columns. You can use the Item property to return a specific Column object.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Smo.AbstractCollectionBase
Microsoft.SqlServer.Management.Smo.SmoCollectionBase
Microsoft.SqlServer.Management.Smo.ArrayListCollectionBase
Microsoft.SqlServer.Management.Smo.ParameterCollectionBase
Microsoft.SqlServer.Management.Smo.ColumnCollection
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.