Application.RemoveFolderFromDtsServer(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the specified folder from the specified server.
public:
void RemoveFolderFromDtsServer(System::String ^ sFolderName, System::String ^ sServerName);
public void RemoveFolderFromDtsServer (string sFolderName, string sServerName);
member this.RemoveFolderFromDtsServer : string * string -> unit
Public Sub RemoveFolderFromDtsServer (sFolderName As String, sServerName As String)
Parameters
- sFolderName
- String
The name of the folder to remove.
- sServerName
- String
The name of the server where the folder is located.
Examples
The following code example removes a folder, named myfolder
, from the file system.
static void Main(string[] args)
{
Application app = new Application();
app.RemoveFolderFromDtsServer(@"File System\myFolder", "yourserver);
}
Shared Sub Main(ByVal args() As String)
Dim app As Application = New Application()
app.RemoveFolderFromDtsServer("File System\myFolder", "yourserver)
End Sub