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.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

NSInstanceDescription Members
Microsoft.SqlServer.NotificationServices Namespace