Linguaggio

IDTSApplication100.FolderExistsOnDtsServer(String, String) Metodo

Definizione

Restituisce un booleano che indica se la cartella specificata esiste già nel file system.

public:
 bool FolderExistsOnDtsServer(System::String ^ bstrFolderName, System::String ^ bstrServerName);
[System.Runtime.InteropServices.DispId(46)]
public bool FolderExistsOnDtsServer(string bstrFolderName, string bstrServerName);
[<System.Runtime.InteropServices.DispId(46)>]
abstract member FolderExistsOnDtsServer : string * string -> bool
Public Function FolderExistsOnDtsServer (bstrFolderName As String, bstrServerName As String) As Boolean

Parametri

bstrFolderName
String

Il nome della cartella che stai cercando. Ad esempio, per verificare se un nome myFolder di cartella esiste sotto la cartella File System, usa la stringa sfuggita, @"\File System\myFolder".

bstrServerName
String

Il nome del server per cercare la cartella.

Valori restituiti

vero se la cartella specificata esiste sul server; false se la cartella non esiste.

Attributi

Si applica a