The Instance property of the Service class gets or sets the instance name, if any, of the Service object.
The name of the instance of the Service object.
Microsoft SQL Server 2000 and subsequent versions support multiple database server instances on a single server computer through the use of named instances. Therefore there may be multiple DatabaseService instances on the same Server object that are distinguished by their Instance properties.
Platforms: Microsoft Windows Server 2003
Security: Code Access Security