Share via


SearchServiceInstance.Role Property

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
Public ReadOnly Property Role As Role
    Get
'Usage
Dim instance As SearchServiceInstance
Dim value As Role

value = instance.Role
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