SPDataSource.GetView method

Gets the default view as an SPDataSourceView object.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function GetView As SPDataSourceView
'Usage
Dim instance As SPDataSource
Dim returnValue As SPDataSourceView

returnValue = instance.GetView()
public SPDataSourceView GetView()

Return value

Type: Microsoft.SharePoint.WebControls.SPDataSourceView
An SPDataSourceView object that represents the default data view.

Remarks

The SPDataSource class supports only one data view.

See also

Reference

SPDataSource class

SPDataSource members

GetView overload

Microsoft.SharePoint.WebControls namespace