SPServiceInstance.Instance property

Gets the name of this instance.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

public string Instance { get; set; }

Property value

Type: System.String
A string that contains the name of the instance.

Remarks

Use the Instance property to differentiate between named instances.

See also

Reference

SPServiceInstance class

SPServiceInstance members

Microsoft.SharePoint.Administration namespace