Compartir a través de


DeliveryChannel Constructor ()

Initializes a new instance of the DeliveryChannel class.

Espacio de nombres: Microsoft.SqlServer.Management.Nmo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Sub New
public DeliveryChannel ()
public:
DeliveryChannel ()
public DeliveryChannel ()
public function DeliveryChannel ()

Notas

Texto actualizado:5 de diciembre de 2005

Código de ejemplo actualizado:5 de diciembre de 2005

If you use the default constructor, you must immediately set the Name property and then set the Parent property. You also must set the ProtocolName property.

Ejemplo

The following examples show how to use this default constructor:

// Define a delivery channel and set required properties.
DeliveryChannel customChannel = new DeliveryChannel();
customChannel.Name = "MyCustomChannel";
customChannel.Parent = myInstance;
customChannel.ProtocolName = "MyCustomProtocol";
' Define a delivery channel and set required properties.
Dim customChannel As DeliveryChannel = New DeliveryChannel()
customChannel.Name = "MyCustomChannel"
customChannel.Parent = myInstance
customChannel.ProtocolName = "MyCustomProtocol"

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

DeliveryChannel Class
DeliveryChannel Members
Microsoft.SqlServer.Management.Nmo Namespace

Otros recursos

Definir canales de entrega
DeliveryChannel Element (ICF)