SupportedUsageTypes プロパティ
利用可能な使用法種類を含むコレクションを取得します。値の設定も可能です。有効な使用法の種類は、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
利用可能な使用法の種類を含むコレクションです。
説明
空のコレクションは、すべての使用法の種類がサポートされていることを意味します。
現在、使用法の種類としては、ファイルの作成、既存のファイル、フォルダの作成、既存のフォルダがあります。コレクションには、接続に対して有効な種類だけが含まれます。たとえば FTP タスクの場合、FTP を使用してファイルを送信する操作であれば、転送できるのは既存のファイルだけなので、ローカル パスとして有効なのは既存のファイルのみです。