다음을 통해 공유


Columns 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Column))> _
Public ReadOnly Property Columns As ColumnCollection
    Get
‘사용 방법
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

속성 값

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

주의

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

예제

속성 설정