Aracılığıyla paylaş


View.EnumColumns Method

Enumerates a list of columns defined in the view.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
Public Function EnumColumns As DataTable
'Kullanım
Dim instance As View
Dim returnValue As DataTable

returnValue = instance.EnumColumns()
public DataTable EnumColumns()
public:
DataTable^ EnumColumns()
member EnumColumns : unit -> DataTable 
public function EnumColumns() : DataTable

Return Value

Type: System.Data.DataTable
A DataTable system object value that contains information about the columns defined in the view.

Examples

Creating, Altering, and Removing Views

See Also

Reference

View Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Designing and Implementing Views

sys.views (Transact-SQL)