共用方式為


Subscription Class

Represents a single subscription.

命名空間: Microsoft.SqlServer.NotificationServices
組件: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

語法

'宣告
<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

備註

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

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

Subscription Members
Microsoft.SqlServer.NotificationServices Namespace