RemoveFolderFromDtsServer Method

Application.RemoveFolderFromDtsServer Method (String, String)

 

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);
        }
Return to top
Show:
© 2016 Microsoft