Share via


ApplicationClass.RemoveFolderFromSQLServer Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Removes the specified folder from the specified instance of SQL Server.

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

Syntax

'Declaration
Public Overridable Sub RemoveFolderFromSQLServer ( _
    bstrFolderName As String, _
    bstrServerName As String, _
    bstrServerUserName As String, _
    bstrServerPassword As String _
)
'Usage
Dim instance As ApplicationClass 
Dim bstrFolderName As String 
Dim bstrServerName As String 
Dim bstrServerUserName As String 
Dim bstrServerPassword As String

instance.RemoveFolderFromSQLServer(bstrFolderName, _
    bstrServerName, bstrServerUserName, _
    bstrServerPassword)
public virtual void RemoveFolderFromSQLServer(
    string bstrFolderName,
    string bstrServerName,
    string bstrServerUserName,
    string bstrServerPassword
)
public:
virtual void RemoveFolderFromSQLServer(
    [InAttribute] String^ bstrFolderName, 
    [InAttribute] String^ bstrServerName, 
    [InAttribute] String^ bstrServerUserName, 
    [InAttribute] String^ bstrServerPassword
)
abstract RemoveFolderFromSQLServer : 
        bstrFolderName:string * 
        bstrServerName:string * 
        bstrServerUserName:string * 
        bstrServerPassword:string -> unit  
override RemoveFolderFromSQLServer : 
        bstrFolderName:string * 
        bstrServerName:string * 
        bstrServerUserName:string * 
        bstrServerPassword:string -> unit
public function RemoveFolderFromSQLServer(
    bstrFolderName : String, 
    bstrServerName : String, 
    bstrServerUserName : String, 
    bstrServerPassword : String
)

Parameters

  • bstrFolderName
    Type: System.String
    The name of the folder to delete
  • bstrServerName
    Type: System.String
    The name of the instance of SQL Server to remove the folder from.
  • bstrServerUserName
    Type: System.String
    The user name to authenticate against the instance of SQL Server.
  • bstrServerPassword
    Type: System.String
    The password for the specified bstrServerUserName.

Implements

IDTSApplication100.RemoveFolderFromSQLServer(String, String, String, String)

See Also

Reference

ApplicationClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace