RemoteScopes.GetScopesForSite Method
Gets an enumerator to access the [T:System.Collections.Generic.List<T>] of Scope objects.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Overrides Function GetScopesForSite ( _
siteUrl As Uri _
) As IEnumerable
'Usage
Dim instance As RemoteScopes
Dim siteUrl As Uri
Dim returnValue As IEnumerable
returnValue = instance.GetScopesForSite(siteUrl)
public override IEnumerable GetScopesForSite(
Uri siteUrl
)
Parameters
siteUrl
Type: System.UriThe URI of the search Scope consumer of the required Scope objects.
Return Value
Type: System.Collections.IEnumerable
An enumerator to access the [T:System.Collections.Generic.List<T>] of Scope objects.
Remarks
The siteUrl must be any URL to an SPSite, or null .