Export (0) Print
Expand All

UserDefinedFunction.Columns Property

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)

[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
	typeof(Column), SfcObjectFlags.None|SfcObjectFlags.NaturalOrder|SfcObjectFlags.Design)]
public ColumnCollection Columns { get; }

Property Value

Type: 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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft