Поделиться через


NSInstanceDescription Class

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

Пространство имен: Microsoft.SqlServer.NotificationServices
Сборка: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Синтаксис

'Декларация
<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

Замечания

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

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

NSInstanceDescription Members
Microsoft.SqlServer.NotificationServices Namespace