FtpClientConnection.GetListing Method
Lists the names of directories and files in the specified folder or directory from the FTP server.
네임스페이스: Microsoft.SqlServer.Dts.Runtime
어셈블리: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
구문
‘선언
Public Sub GetListing ( _
<OutAttribute> ByRef folderNames As String(), _
<OutAttribute> ByRef fileNames As String() _
)
public void GetListing (
out string[] folderNames,
out string[] fileNames
)
public:
void GetListing (
[OutAttribute] array<String^>^% folderNames,
[OutAttribute] array<String^>^% fileNames
)
public void GetListing (
/** @attribute OutAttribute() */ /** @ref */ String[] folderNames,
/** @attribute OutAttribute() */ /** @ref */ String[] fileNames
)
JScript는 값 유형 인수를 참조로 전달하는 것을 지원하지 않습니다.
매개 변수
- folderNames
An array containing the folders in the current folder.
- fileNames
An array containing the files in the current folder.
주의
Both folderNames and fileNames parameters are out parameters.
예
The following code example shows how to use the GetListing method.
//Get all folders and files of the directory
string[] folderNames;
string[] fileNames;
ftpClientConnection.GetListing(out folders, out files);
'Get all folders and files of the directory
Dim folderNames() As String
Dim fileNames() As String
ftpClientConnection.GetListing(folders, files)
스레드 보안
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
플랫폼
개발 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
대상 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
FtpClientConnection Class
FtpClientConnection Members
Microsoft.SqlServer.Dts.Runtime Namespace