다음을 통해 공유


DeliveryChannelEnumeration Constructor (NSInstance)

Creates and initializes an object of the DeliveryChannelEnumeration class.

네임스페이스: Microsoft.SqlServer.NotificationServices
어셈블리: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

구문

‘선언
Public Sub New ( _
    nsInstance As NSInstance _
)
public DeliveryChannelEnumeration (
    NSInstance nsInstance
)
public:
DeliveryChannelEnumeration (
    NSInstance^ nsInstance
)
public DeliveryChannelEnumeration (
    NSInstance nsInstance
)
public function DeliveryChannelEnumeration (
    nsInstance : NSInstance
)

매개 변수

  • nsInstance
    An NSInstance that represents an instance of Notification Services.

The following examples show how to create and initialize a DeliveryChannelEnumeration object in managed code.

These examples use the Microsoft.SqlServer.NotificationServices namespace.

Dim instanceName As String = "MyInstanceName"

'Create an NSInstance object.
Dim myInstance As New NSInstance(instanceName)

'Create a DeliveryChannelEnumeration object.
Dim myDeliveryChannelEnumeration As _
    New DeliveryChannelEnumeration(myInstance)
string instanceName = "MyInstanceName";

//Create an NSInstance object.
NSInstance myInstance = new NSInstance(instanceName);

//Create a DeliveryChannelEnumeration object.
DeliveryChannelEnumeration myDeliveryChannelEnumeration = 
    new DeliveryChannelEnumeration(myInstance);

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

DeliveryChannelEnumeration Class
DeliveryChannelEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace