Share via


NSInstanceDescription Class

Provides descriptive data about Notification Services instances. This class is deprecated in Microsoft SQL Server 2005.

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

Sintassi

'Dichiarazione
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<ComVisibleAttribute(True)> _
<GuidAttribute("AA836454-233A-4aec-9E5A-E2BFA16C53CA")> _
Public Class NSInstanceDescription
    Implements INSInstanceDescription
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
[ComVisibleAttribute(true)] 
[GuidAttribute("AA836454-233A-4aec-9E5A-E2BFA16C53CA")] 
public class NSInstanceDescription : INSInstanceDescription
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
[ComVisibleAttribute(true)] 
[GuidAttribute(L"AA836454-233A-4aec-9E5A-E2BFA16C53CA")] 
public ref class NSInstanceDescription : INSInstanceDescription
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute GuidAttribute("AA836454-233A-4aec-9E5A-E2BFA16C53CA") */ 
public class NSInstanceDescription implements INSInstanceDescription
ClassInterfaceAttribute(ClassInterfaceType.None) 
ComVisibleAttribute(true) 
GuidAttribute("AA836454-233A-4aec-9E5A-E2BFA16C53CA") 
public class NSInstanceDescription implements INSInstanceDescription

Osservazioni

In SQL Server 2005, classes for creating and managing Notification Services instances and applications are in the Microsoft.SqlServer.Management.Nmo namespace. This class, replaced by the Microsoft.SqlServer.Management.Nmo.Instance class, is included only for compatibility with earlier versions of Notification Services and may not be supported in a future release.

An NSInstanceDescription object represents the information about a specific Notification Services instance. The InstanceEnumeration class provides an indexer that returns an NSInstanceDescription object.

The NSInstanceDescription class has no constructor. NSInstanceDescription objects are created by the Item property.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.NotificationServices.NSInstanceDescription

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

NSInstanceDescription Members
Microsoft.SqlServer.NotificationServices Namespace