Scopes.GetSharedScope Method
Returns the global scope with the specified name.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function GetSharedScope ( _
name As String _
) As Scope
'Usage
Dim instance As Scopes
Dim name As String
Dim returnValue As Scope
returnValue = instance.GetSharedScope(name)
public Scope GetSharedScope(
string name
)
Parameters
- name
Type: System.String
A string containing the scope name.
Return Value
Type: Microsoft.Office.Server.Search.Administration.Scope
A Scope object representing the specified search scope.