Partager via


NSInstance Class

Represents a Notification Services instance.

Espace de noms: Microsoft.SqlServer.NotificationServices
Assembly: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntaxe

'Déclaration
<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

Notes

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

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

NSInstance Members
Microsoft.SqlServer.NotificationServices Namespace