SPDataSource.Scope property

Gets or sets the recursive scope for the view.

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

Syntax

'Declaration
Public Property Scope As SPViewScope
    Get
    Set
'Usage
Dim instance As SPDataSource
Dim value As SPViewScope

value = instance.Scope

instance.Scope = value
public SPViewScope Scope { get; set; }

Property value

Type: Microsoft.SharePoint.SPViewScope
An Microsoft.SharePoint.SPViewScope value that specifies the scope. The default value is SPViewScope.Default.

See also

Reference

SPDataSource class

SPDataSource members

Microsoft.SharePoint.WebControls namespace

SPViewScope