다음을 통해 공유


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

구문

‘선언
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Column), SfcObjectFlags.None Or SfcObjectFlags.NaturalOrder Or SfcObjectFlags.Design)> _
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), 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

속성 값

유형: 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.

속성 설정

참고 항목

참조

UserDefinedFunction 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

사용자 정의 함수(데이터베이스 엔진)

CREATE FUNCTION(Transact-SQL)