Freigeben über


DeliveryChannelArgument Constructor ()

Initializes a new instance of the DeliveryChannelArgument class.

Namespace: Microsoft.SqlServer.Management.Nmo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public Sub New
public DeliveryChannelArgument ()
public:
DeliveryChannelArgument ()
public DeliveryChannelArgument ()
public function DeliveryChannelArgument ()

Hinweise

Aktualisierter Text:05. Dezember 2005

Aktualisierter Beispielcode:05. Dezember 2005

If you use the default constructor, you must immediately set the Name property and then set the Parent property. You can then set other properties.

Beispiel

The following examples show how to use this default constructor:

// Define and add arguments for the custom delivery channel
DeliveryChannelArgument myArg1 = new DeliveryChannelArgument();
myArg1.Name = "Arg1";
myArg1.Parent = customChannel;
myArg1.Value = "Value1";
customChannel.DeliveryChannelArguments.Add(myArg1);
' Define and add arguments for the custom delivery channel
Dim myArg1 As DeliveryChannelArgument = _
    New DeliveryChannelArgument()
myArg1.Name = "Arg1"
myArg1.Parent = customChannel
myArg1.Value = "Value1"
customChannel.DeliveryChannelArguments.Add(myArg1)

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

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

Andere Ressourcen

Definieren von Übermittlungskanälen
Argument Element (ICF)