Delen via


NSInstance Members

Represents a Notification Services instance.

The following tables list the members exposed by the NSInstance type.

Public Constructors

  Name Description
NSInstance Overloaded. Creates an instance of the NSInstance class.

Top

Public Properties

  Name Description
ms150336.pubproperty(en-US,SQL.90).gif ArgumentKey Gets or sets the key used to encrypt delivery channel and event provider arguments that are stored in Notification Services databases.
ms150336.pubproperty(en-US,SQL.90).gif DatabaseName  Returns the name of a Notification Services database. (inherited from NSDBState)
ms150336.pubproperty(en-US,SQL.90).gif InstanceName Returns the name of the instance of Notification Services.
ms150336.pubproperty(en-US,SQL.90).gif IsRunning Gets the current state of the NSInstance for an instance of Notification Services.
ms150336.pubproperty(en-US,SQL.90).gif SchemaName  Returns the name of a database schema for Notification Services data. (inherited from NSDBState)
ms150336.pubproperty(en-US,SQL.90).gif SqlPassword Sets the password of the Microsoft SQL Server login account your application uses to connect to SQL Server.
ms150336.pubproperty(en-US,SQL.90).gif SqlUser Sets the user name of the Microsoft SQL Server login account that your application uses to connect to SQL Server.
ms150336.pubproperty(en-US,SQL.90).gif Version Gets the version of the Notification Services instance.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms150336.pubmethod(en-US,SQL.90).gif Equals Overloaded. Overridden. Determines whether the specified Object is equal to the current Object.
ms150336.pubmethod(en-US,SQL.90).gif GetHashCode Overridden. Gets the hash code for the NSInstance object.
ms150336.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms150336.pubmethod(en-US,SQL.90).gif Initialize Overloaded. Initializes an instance of the NSInstance class.
ms150336.pubmethod(en-US,SQL.90).gifms150336.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms150336.pubmethod(en-US,SQL.90).gif StartInstance Starts the Notification Services engine for an instance of Notification Services.
ms150336.pubmethod(en-US,SQL.90).gif StopInstance Stops the Notification Services engine for an instance of Notification Services.
ms150336.pubmethod(en-US,SQL.90).gif ToString Overridden. Returns a String representation of the NSInstance object.
ms150336.pubmethod(en-US,SQL.90).gif Verify Tests the connection to the instance database and verifies that the versions and editions of the instance of Notification Services and the instance of Microsoft SQL Server are compatible.

Top

Protected Methods

  Name Description
ms150336.protmethod(en-US,SQL.90).gif Finalize Overridden. Releases all resources used by the NSInstance object.
ms150336.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

Public Events

  Name Description
ms150336.pubevent(en-US,SQL.90).gif Error Occurs when a fatal error is raised by a Notification Services engine component.

Top

See Also

Reference

NSInstance Class
Microsoft.SqlServer.NotificationServices Namespace