共用方式為


NSApplication Class

Represents a Notification Services application.

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

語法

'宣告
<ComVisibleAttribute(True)> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<GuidAttribute("41CF3F52-C347-332A-B338-3ACDFABCE341")> _
Public Class NSApplication
    Inherits NSDBState
    Implements INSApplication
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
[GuidAttribute("41CF3F52-C347-332A-B338-3ACDFABCE341")] 
public class NSApplication : NSDBState, INSApplication
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
[GuidAttribute(L"41CF3F52-C347-332A-B338-3ACDFABCE341")] 
public ref class NSApplication : public NSDBState, INSApplication
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
/** @attribute GuidAttribute("41CF3F52-C347-332A-B338-3ACDFABCE341") */ 
public class NSApplication extends NSDBState implements INSApplication
ComVisibleAttribute(true) 
ClassInterfaceAttribute(ClassInterfaceType.None) 
GuidAttribute("41CF3F52-C347-332A-B338-3ACDFABCE341") 
public class NSApplication extends NSDBState implements INSApplication

備註

An NSApplication represents a specific Notification Services application. Many Notification Services classes require a reference to an NSApplication.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.NotificationServices.NSDBState
    Microsoft.SqlServer.NotificationServices.NSApplication

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

NSApplication Members
Microsoft.SqlServer.NotificationServices Namespace