共用方式為


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
ms150336.pubproperty(zh-tw,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(zh-tw,SQL.90).gif DatabaseName  Returns the name of a Notification Services database. (inherited from NSDBState)
ms150336.pubproperty(zh-tw,SQL.90).gif InstanceName Returns the name of the instance of Notification Services.
ms150336.pubproperty(zh-tw,SQL.90).gif IsRunning Gets the current state of the NSInstance for an instance of Notification Services.
ms150336.pubproperty(zh-tw,SQL.90).gif SchemaName  Returns the name of a database schema for Notification Services data. (inherited from NSDBState)
ms150336.pubproperty(zh-tw,SQL.90).gif SqlPassword Sets the password of the Microsoft SQL Server login account your application uses to connect to SQL Server.
ms150336.pubproperty(zh-tw,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(zh-tw,SQL.90).gif Version Gets the version of the Notification Services instance.

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms150336.pubmethod(zh-tw,SQL.90).gif Equals Overloaded. Overridden. Determines whether the specified Object is equal to the current Object.
ms150336.pubmethod(zh-tw,SQL.90).gif GetHashCode Overridden. Gets the hash code for the NSInstance object.
ms150336.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms150336.pubmethod(zh-tw,SQL.90).gif Initialize Overloaded. Initializes an instance of the NSInstance class.
ms150336.pubmethod(zh-tw,SQL.90).gifms150336.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms150336.pubmethod(zh-tw,SQL.90).gif StartInstance Starts the Notification Services engine for an instance of Notification Services.
ms150336.pubmethod(zh-tw,SQL.90).gif StopInstance Stops the Notification Services engine for an instance of Notification Services.
ms150336.pubmethod(zh-tw,SQL.90).gif ToString Overridden. Returns a String representation of the NSInstance object.
ms150336.pubmethod(zh-tw,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.

頂端

Protected Methods

  名稱 Description
ms150336.protmethod(zh-tw,SQL.90).gif Finalize Overridden. Releases all resources used by the NSInstance object.
ms150336.protmethod(zh-tw,SQL.90).gif MemberwiseClone  (inherited from Object )

頂端

Public Events

  名稱 Description
ms150336.pubevent(zh-tw,SQL.90).gif Error Occurs when a fatal error is raised by a Notification Services engine component.

頂端

請參閱

參考

NSInstance Class
Microsoft.SqlServer.NotificationServices Namespace