SearchServiceApplicationProxy.GetIdForContextKey 方法

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

语法

声明
Public Function GetIdForContextKey ( _
    searchObjectOwner As SearchObjectOwner, _
    ContextName As String _
) As Integer
用法
Dim instance As SearchServiceApplicationProxy
Dim searchObjectOwner As SearchObjectOwner
Dim ContextName As String
Dim returnValue As Integer

returnValue = instance.GetIdForContextKey(searchObjectOwner, _
    ContextName)
public int GetIdForContextKey(
    SearchObjectOwner searchObjectOwner,
    string ContextName
)

参数

返回值

类型:System.Int32

另请参阅

引用

SearchServiceApplicationProxy 类

SearchServiceApplicationProxy 成员

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