Share via


SPDataSourceView.DataSourceOwner property

Gets a reference to the data source control that owns this view.

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

Syntax

'Declaration
Protected ReadOnly Property DataSourceOwner As IDataSource
    Get
'Usage
Dim value As IDataSource

value = Me.DataSourceOwner
protected IDataSource DataSourceOwner { get; }

Property value

Type: System.Web.UI.IDataSource
An IDataSource object that represents the data source control with which the SPDataSourceView is associated.

See also

Reference

SPDataSourceView class

SPDataSourceView members

Microsoft.SharePoint.WebControls namespace