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

'Declaration
Public Function EnumColumns As DataTable
'Usage
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.