Udostępnij za pośrednictwem


NSInstanceDescription Class

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

Namespace: Microsoft.SqlServer.NotificationServices
Assembly: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntax

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

Remarks

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

NSInstanceDescription Members
Microsoft.SqlServer.NotificationServices Namespace