Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RemoveFolderFromDtsServer Method

Application.RemoveFolderFromDtsServer Method

Removes the specified folder from the specified server.

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

public void RemoveFolderFromDtsServer(
	string sFolderName,
	string sServerName
)

Parameters

sFolderName
Type: System.String
The name of the folder to remove.
sServerName
Type: System.String
The name of the server where the folder is located.

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);
        }

Community Additions

ADD
Show:
© 2015 Microsoft