Share via


Service(System.Guid, String, Microsoft.SharePoint.Portal.Topology.Server) Constructor

The Service constructor initializes a new instance of the Service class based on the specified GUID and instance name of the Service object and specified Server object.

Parameters

serviceClass   A GUID that identifies the type of Service object. This GUID value appears in the ClassId column in the Services table in the configuration database.

serviceInstance   A string that identifies the instance of the specified Service object. A DatabaseService can have multiple instances on a single server.

server   The Server object on which the Service runs.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security