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