Bagikan melalui


IDTSApplication100.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
Sub RemoveFolderFromSQLServer ( _
    bstrFolderName As String, _
    bstrServerName As String, _
    bstrServerUserName As String, _
    bstrServerPassword As String _
)
'Usage
Dim instance As IDTSApplication100 
Dim bstrFolderName As String 
Dim bstrServerName As String 
Dim bstrServerUserName As String 
Dim bstrServerPassword As String

instance.RemoveFolderFromSQLServer(bstrFolderName, _
    bstrServerName, bstrServerUserName, _
    bstrServerPassword)
void RemoveFolderFromSQLServer(
    string bstrFolderName,
    string bstrServerName,
    string bstrServerUserName,
    string bstrServerPassword
)
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
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.

See Also

Reference

IDTSApplication100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace