Share via


FileConnectionManagerUIArgs Constructor (ICollection)

Initializes a new instance of the FileConnectionManagerUIArgs class using a collection of usage types specific to this connection.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Design
Assembly:  Microsoft.SqlServer.Dts.Design (in Microsoft.SqlServer.Dts.Design.dll)

Syntax

'Declaration
Public Sub New ( _
    supportedUsageTypes As ICollection _
)
'Usage
Dim supportedUsageTypes As ICollection

Dim instance As New FileConnectionManagerUIArgs(supportedUsageTypes)
public FileConnectionManagerUIArgs(
    ICollection supportedUsageTypes
)
public:
FileConnectionManagerUIArgs(
    ICollection^ supportedUsageTypes
)
new : 
        supportedUsageTypes:ICollection -> FileConnectionManagerUIArgs
public function FileConnectionManagerUIArgs(
    supportedUsageTypes : ICollection
)

Parameters

Remarks

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.