Condividi tramite


Proprietà TableViewTableTypeBase.Columns

Gets a column collection.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, GetType(Column),  _
    SfcObjectFlags.None Or SfcObjectFlags.NaturalOrder Or SfcObjectFlags.Design)> _
Public ReadOnly Property Columns As ColumnCollection 
    Get
'Utilizzo
Dim instance As TableViewTableTypeBase 
Dim value As ColumnCollection 

value = instance.Columns
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, typeof(Column), 
    SfcObjectFlags.None|SfcObjectFlags.NaturalOrder|SfcObjectFlags.Design)]
public ColumnCollection Columns { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::OneToAny, 
    typeof(Column), SfcObjectFlags::None|SfcObjectFlags::NaturalOrder|SfcObjectFlags::Design)]
public:
property ColumnCollection^ Columns {
    ColumnCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, 
    typeof(Column), SfcObjectFlags.None|SfcObjectFlags.NaturalOrder|SfcObjectFlags.Design)>]
member Columns : ColumnCollection
function get Columns () : ColumnCollection

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo.ColumnCollection
The list of column.

Vedere anche

Riferimento

TableViewTableTypeBase Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo