Condividi tramite


DeliveryChannel Constructor ()

Initializes a new instance of the DeliveryChannel class.

Spazio dei nomi: Microsoft.SqlServer.Management.Nmo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintassi

'Dichiarazione
Public Sub New
public DeliveryChannel ()
public:
DeliveryChannel ()
public DeliveryChannel ()
public function DeliveryChannel ()

Osservazioni

Testo aggiornato:5 dicembre 2005

Codice di esempio aggiornato:5 dicembre 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.

Esempio

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"

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

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

Altre risorse

Definizione dei canali di recapito
DeliveryChannel Element (ICF)