Compartir a través de


Columns Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Column))> _
Public ReadOnly Property Columns As ColumnCollection
    Get
'Uso
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

Valor de la propiedad

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

Notas

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