SPWebServiceInstance.Roles, propriété (Microsoft.SharePoint.Administration)

Windows SharePoint Services 3
Gets a generic string collection that indicates the possible roles for the current server, which by default include SingleServer and WebFrontEnd.

Espace de noms : Microsoft.SharePoint.Administration
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

public override ICollection<string> Roles { get; }

Valeur de la propriété

A System.Collections.Generic.ICollection object that contains SingleServer and WebFrontEnd.