Compartilhar via


Propriedade do RDL UserDefinedFunction.Columns

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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Column), SfcObjectFlags.None Or SfcObjectFlags.NaturalOrder Or SfcObjectFlags.Design)> _
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), SfcObjectFlags.None|SfcObjectFlags.NaturalOrder|SfcObjectFlags.Design)]
public ColumnCollection Columns { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(Column), SfcObjectFlags::None|SfcObjectFlags::NaturalOrder|SfcObjectFlags::Design)]
public:
property ColumnCollection^ Columns {
    ColumnCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Column), SfcObjectFlags.None|SfcObjectFlags.NaturalOrder|SfcObjectFlags.Design)>]
member Columns : ColumnCollection
function get Columns () : ColumnCollection

Valor da propriedade

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

Comentários

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

Exemplos

Definindo propriedades

Consulte também

Referência

UserDefinedFunction Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Funções definidas pelo usuário (Mecanismo de Banco de Dados)

CREATE FUNCTION (Transact-SQL)