다음을 통해 공유


SubscriptionClass Class

Represents a subscription class, as specified for a given application. 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("34A36896-A620-3042-85C1-22519DDA86C2")> _
Public Class SubscriptionClass
    Implements ISubscriptionClass
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
[ComVisibleAttribute(true)] 
[GuidAttribute("34A36896-A620-3042-85C1-22519DDA86C2")] 
public class SubscriptionClass : ISubscriptionClass
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
[ComVisibleAttribute(true)] 
[GuidAttribute(L"34A36896-A620-3042-85C1-22519DDA86C2")] 
public ref class SubscriptionClass : ISubscriptionClass
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute GuidAttribute("34A36896-A620-3042-85C1-22519DDA86C2") */ 
public class SubscriptionClass implements ISubscriptionClass
ClassInterfaceAttribute(ClassInterfaceType.None) 
ComVisibleAttribute(true) 
GuidAttribute("34A36896-A620-3042-85C1-22519DDA86C2") 
public class SubscriptionClass implements ISubscriptionClass

주의

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.SubscriptionClass class, is included only for compatibility with earlier versions of Notification Services and may not be supported in a future release.

The SubscriptionClass class provides access to the metadata of any subscription class defined for an application. It should not be confused with the Subscription class, which provides a means of adding, updating, or deleting a specified subscription in the application. It provides methods to return information about the subscription fields defined for the specified subscription class.

There is no constructor for the SubscriptionClass class. Use the SubscriptionClassEnumeration.Item property to return a SubscriptionClass.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.NotificationServices.SubscriptionClass

스레드 보안

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 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

SubscriptionClass Members
Microsoft.SqlServer.NotificationServices Namespace