DeliveryChannelArgument Constructor ()

Initializes a new instance of the DeliveryChannelArgument class.

Пространство имен: Microsoft.SqlServer.Management.Nmo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
Public Sub New
public DeliveryChannelArgument ()
public:
DeliveryChannelArgument ()
public DeliveryChannelArgument ()
public function DeliveryChannelArgument ()

Замечания

Изменения текста5 декабря 2005 г.

Изменения образцов кода5 декабря 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.

Пример

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)

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

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

Другие ресурсы

Определение каналов доставки
Argument Element (ICF)