Scopes.GetSharedScope 方法

返回具有指定名称的全局范围。

命名空间:  Microsoft.Office.Server.Search.Administration
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
Public Overrides Function GetSharedScope ( _
    name As String _
) As Scope
用法
Dim instance As Scopes
Dim name As String
Dim returnValue As Scope

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

参数

  • name
    类型:System.String

    一个字符串,它包含作用域的名称。

返回值

类型:Microsoft.Office.Server.Search.Administration.Scope
一个Scope对象,它表示指定的搜索范围。

另请参阅

引用

Scopes 类

Scopes 成员

Microsoft.Office.Server.Search.Administration 命名空间