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)
Available in Sandboxed Solutions: No

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