Partilhar via


RemoteScopes.GetSharedScope Method

Gets the specified global Scope that is available on any server in the SPFarm.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Overrides Function GetSharedScope ( _
    name As String _
) As Scope
'Usage
Dim instance As RemoteScopes
Dim name As String
Dim returnValue As Scope

returnValue = instance.GetSharedScope(name)
public override Scope GetSharedScope(
    string name
)

Parameters

Return Value

Type: Microsoft.Office.Server.Search.Administration.Scope
A global Search scope.

Remarks

The name must be not null . It must be a non-empty string that does not exceed 60 characters.

See Also

Reference

RemoteScopes Class

RemoteScopes Members

Microsoft.Office.Server.Search.Administration Namespace