Compartir a través de


DeliveryChannelEnumeration Constructor (NSInstance)

Creates and initializes an object of the DeliveryChannelEnumeration class.

Espacio de nombres: Microsoft.SqlServer.NotificationServices
Ensamblado: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Sintaxis

'Declaración
Public Sub New ( _
    nsInstance As NSInstance _
)
public DeliveryChannelEnumeration (
    NSInstance nsInstance
)
public:
DeliveryChannelEnumeration (
    NSInstance^ nsInstance
)
public DeliveryChannelEnumeration (
    NSInstance nsInstance
)
public function DeliveryChannelEnumeration (
    nsInstance : NSInstance
)

Parámetros

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

Ejemplo

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);

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

DeliveryChannelEnumeration Class
DeliveryChannelEnumeration Members
Microsoft.SqlServer.NotificationServices Namespace