Share via


Subscription Class

Represents a single subscription.

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

Syntax

'Declaration
<ComVisibleAttribute(True)> _
<GuidAttribute("08FA3292-3F59-3833-A817-AA0F8F85468A")> _
<DefaultMemberAttribute("Item")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class Subscription
    Implements ISubscription
[ComVisibleAttribute(true)] 
[GuidAttribute("08FA3292-3F59-3833-A817-AA0F8F85468A")] 
[DefaultMemberAttribute("Item")] 
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
public class Subscription : ISubscription
[ComVisibleAttribute(true)] 
[GuidAttribute(L"08FA3292-3F59-3833-A817-AA0F8F85468A")] 
[DefaultMemberAttribute(L"Item")] 
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
public ref class Subscription : ISubscription
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute GuidAttribute("08FA3292-3F59-3833-A817-AA0F8F85468A") */ 
/** @attribute DefaultMemberAttribute("Item") */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
public class Subscription implements ISubscription
ComVisibleAttribute(true) 
GuidAttribute("08FA3292-3F59-3833-A817-AA0F8F85468A") 
DefaultMemberAttribute("Item") 
ClassInterfaceAttribute(ClassInterfaceType.None) 
public class Subscription implements ISubscription

Remarks

The Subscription class represents a single subscription within a specified Notification Services application. It provides an Item property to return application-specific subscription data fields.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.NotificationServices.Subscription

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

Subscription Members
Microsoft.SqlServer.NotificationServices Namespace