NSInstance Class

Represents a Notification Services instance.

Namespace: Microsoft.SqlServer.NotificationServices
Assembly: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntax

'Declaration
<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

Remarks

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

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

NSInstance Members
Microsoft.SqlServer.NotificationServices Namespace