Condividi tramite


NSInstance Class

Represents a Notification Services instance.

Spazio dei nomi: Microsoft.SqlServer.NotificationServices
Assembly : Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Sintassi

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

Osservazioni

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

NSInstance Members
Microsoft.SqlServer.NotificationServices Namespace