共用方式為


NSInstance Class

Represents a Notification Services instance.

命名空間: Microsoft.SqlServer.NotificationServices
組件: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

語法

'宣告
<GuidAttribute("610466C0-1735-33B2-BBED-2E25DBDCC47F")> _
<ComVisibleAttribute(True)> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class NSInstance
    Inherits NSDBState
    Implements INSInstance
[GuidAttribute("610466C0-1735-33B2-BBED-2E25DBDCC47F")] 
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
public class NSInstance : NSDBState, INSInstance
[GuidAttribute(L"610466C0-1735-33B2-BBED-2E25DBDCC47F")] 
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
public ref class NSInstance : public NSDBState, INSInstance
/** @attribute GuidAttribute("610466C0-1735-33B2-BBED-2E25DBDCC47F") */ 
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
public class NSInstance extends NSDBState implements INSInstance
GuidAttribute("610466C0-1735-33B2-BBED-2E25DBDCC47F") 
ComVisibleAttribute(true) 
ClassInterfaceAttribute(ClassInterfaceType.None) 
public class NSInstance extends NSDBState implements INSInstance

備註

An NSInstance object represents a specific Notification Services instance. Several Notification Services classes require a reference to an NSInstance object in order to be initialized.

Information about the instance of Notification Services is from the Microsoft Windows registry. You must register the instance of Notification Services before using members of the NSInstance class.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.NotificationServices.NSDBState
    Microsoft.SqlServer.NotificationServices.NSInstance

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

NSInstance Members
Microsoft.SqlServer.NotificationServices Namespace