共用方式為


ISubscription.Initialize Method

Explicit interface method definition for the Subscription class.

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

語法

'宣告
Sub Initialize ( _
    nsApplication As NSApplication, _
    subscriptionClassName As String _
)
void Initialize (
    NSApplication nsApplication,
    string subscriptionClassName
)
void Initialize (
    NSApplication^ nsApplication, 
    String^ subscriptionClassName
)
void Initialize (
    NSApplication nsApplication, 
    String subscriptionClassName
)
function Initialize (
    nsApplication : NSApplication, 
    subscriptionClassName : String
)

參數

  • nsApplication
    An NSApplication representing the Notification Services application to which the Subscription object provides subscription data.
  • subscriptionClassName
    A string containing the name of the subscription class that defines the subscription data that the Subscription object provides. This determines what subscription fields the Subscription object exposes.

備註

Do not implement this method. This method is a member of an explicit interface definition for the Subscription class and is provided only for COM interop.

執行緒安全性

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

請參閱

參考

ISubscription Interface
ISubscription Members
Microsoft.SqlServer.NotificationServices Namespace