NSInstance Members
Represents a Notification Services instance.
The following tables list the members exposed by the NSInstance type.
Public Constructors
名稱 | Description | |
---|---|---|
NSInstance | Overloaded. Creates an instance of the NSInstance class. |
頂端
Public Properties
名稱 | Description | |
---|---|---|
ArgumentKey | Gets or sets the key used to encrypt delivery channel and event provider arguments that are stored in Notification Services databases. | |
DatabaseName | Returns the name of a Notification Services database. (inherited from NSDBState) | |
InstanceName | Returns the name of the instance of Notification Services. | |
IsRunning | Gets the current state of the NSInstance for an instance of Notification Services. | |
SchemaName | Returns the name of a database schema for Notification Services data. (inherited from NSDBState) | |
SqlPassword | Sets the password of the Microsoft SQL Server login account your application uses to connect to SQL Server. | |
SqlUser | Sets the user name of the Microsoft SQL Server login account that your application uses to connect to SQL Server. | |
Version | Gets the version of the Notification Services instance. |
頂端
Public Methods
(see also Protected Methods )
名稱 | Description | |
---|---|---|
Equals | Overloaded. Overridden. Determines whether the specified Object is equal to the current Object. | |
GetHashCode | Overridden. Gets the hash code for the NSInstance object. | |
GetType | (inherited from Object ) | |
Initialize | Overloaded. Initializes an instance of the NSInstance class. | |
ReferenceEquals | (inherited from Object ) | |
StartInstance | Starts the Notification Services engine for an instance of Notification Services. | |
StopInstance | Stops the Notification Services engine for an instance of Notification Services. | |
ToString | Overridden. Returns a String representation of the NSInstance object. | |
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. |
頂端
Protected Methods
名稱 | Description | |
---|---|---|
Finalize | Overridden. Releases all resources used by the NSInstance object. | |
MemberwiseClone | (inherited from Object ) |
頂端
Public Events
名稱 | Description | |
---|---|---|
Error | Occurs when a fatal error is raised by a Notification Services engine component. |
頂端
請參閱
參考
NSInstance Class
Microsoft.SqlServer.NotificationServices Namespace