Поделиться через


Свойство SupportedUsageTypes

Gets or sets a collection containing the available usage types. Valid usage types are defined in DTSFileConnectionUsageType.

Пространство имен:  Microsoft.SqlServer.Dts.Runtime.Design
Сборка:  Microsoft.SqlServer.Dts.Design (в Microsoft.SqlServer.Dts.Design.dll)

Синтаксис

'Декларация
Public Property SupportedUsageTypes As ICollection
    Get
    Set
'Применение
Dim instance As FileConnectionManagerUIArgs
Dim value As ICollection

value = instance.SupportedUsageTypes

instance.SupportedUsageTypes = value
public ICollection SupportedUsageTypes { get; set; }
public:
property ICollection^ SupportedUsageTypes {
    ICollection^ get ();
    void set (ICollection^ value);
}
member SupportedUsageTypes : ICollection with get, set
function get SupportedUsageTypes () : ICollection
function set SupportedUsageTypes (value : ICollection)

Значение свойства

Тип: System.Collections. . :: . .ICollection
A collection containing the available usage types.

Замечания

An empty collection implies that all usage types are supported.

The usage types are currently Create file, Existing file, Create folder, and Existing folder. The collection contains only those types that are valid for the connection. For example, in the FTP task, if the operation is to send files using FTP, then the local path can only be Existing file, as you can only transfer existing files.