SearchServiceInstance.Role property

NOTE: This API is now obsolete.

Gets the role of the search service instance.

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

Syntax

'Declaration
<ObsoleteAttribute("This value is no longer meaningful.")> _
Public ReadOnly Property Role As Role
    Get
'Usage
Dim instance As SearchServiceInstance
Dim value As Role

value = instance.Role
[ObsoleteAttribute("This value is no longer meaningful.")]
public Role Role { get; }

Property value

Type: Microsoft.Office.Server.Search.Administration.Role

Remarks

Potential values are defined by the Role enum.

See also

Reference

SearchServiceInstance class

SearchServiceInstance members

Microsoft.Office.Server.Search.Administration namespace