다음을 통해 공유


SPServiceInstance.Instance property

Gets the name of this instance.

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

Syntax

'Declaration
Public Property Instance As String
    Get
    Set
'Usage
Dim instance As SPServiceInstance
Dim value As String

value = instance.Instance

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