Share via


SPDataSourceView.DataSourceMode property

Gets or sets a value that specifies the type of data to query.

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

Syntax

'Declaration
Public Property DataSourceMode As SPDataSourceMode
    Get
    Set
'Usage
Dim instance As SPDataSourceView
Dim value As SPDataSourceMode

value = instance.DataSourceMode

instance.DataSourceMode = value
public SPDataSourceMode DataSourceMode { get; set; }

Property value

Type: Microsoft.SharePoint.WebControls.SPDataSourceMode
A Microsoft.SharePoint.WebControls.SPDataSourceMode value that specifies the type of data to query.

See also

Reference

SPDataSourceView class

SPDataSourceView members

Microsoft.SharePoint.WebControls namespace