Columns-Eigenschaft

Represents a collection of Column objects. Each Column object represents a column defined on the user-defined function.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Column))> _
Public ReadOnly Property Columns As ColumnCollection
    Get
'Usage
Dim instance As UserDefinedFunction
Dim value As ColumnCollection

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

Eigenschaftenwert

Typ: Microsoft.SqlServer.Management.Smo. . :: . .ColumnCollection
A ColumnCollection object that represents all the columns defined on the user-defined function.

Hinweise

The Columns property applies to a table valued function. This collection cannot be modified for inline table-valued functions.