共用方式為


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