SearchServiceInstance.Role 属性 (Microsoft.Office.Server.Search.Administration)

Gets the role of the search service instance.

命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)

语法

声明
Public ReadOnly Property Role As Role
用法
Dim instance As SearchServiceInstance
Dim value As Role

value = instance.Role
public Role Role { get; }

备注

Potential values are defined by the Role enum.

另请参阅

参考

SearchServiceInstance 类
SearchServiceInstance 成员
Microsoft.Office.Server.Search.Administration 命名空间