Dela via


SPDataSource.Scope Property

Gets or sets the recursive scope for the view.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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