Export (0) Print
Expand All

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:
© 2014 Microsoft