nscontrol listversions Command
Displays information about the installed versions and the registered instances of Microsoft SQL Server Notification Services.
Suppresses the product and version statement that appears when you run an nscontrol command.
Displays the command syntax.
- -name instanceName
Specifies the name of an instance of Notification Services. When you provide an instance name, nscontrol displays only the information for that instance and does not display version information. Otherwise, nscontrol displays information for all instances.
- -version versionNumber
Specifies a Notification Services version number. When you provide a version number, nscontrol displays information for that version and for all instances that use that version. Otherwise, the information for all installed versions is listed.
The version number is specified in four parts, such as 126.96.36.199.
The following examples illustrate two ways to display version and instance information.
A. Displaying all available version and instance information
This example displays information about all installed versions and instances of Notification Services that are registered on the computer:
B. Displaying version information for a single instance
This example displays information for an instance of Notification Services named
StockInstance. The instance must be registered on the computer:
nscontrol listversions -name StockInstance