Partager via


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