Columns 属性

Gets a column collection.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.OneToAny, GetType(Column))> _
Public ReadOnly Property Columns As ColumnCollection
    Get
用法
Dim instance As TableViewTableTypeBase
Dim value As ColumnCollection

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