共用方式為


IDTSApplication100.RemoveFolderFromSQLServer 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

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

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Sub RemoveFolderFromSQLServer ( _
    bstrFolderName As String, _
    bstrServerName As String, _
    bstrServerUserName As String, _
    bstrServerPassword As String _
)
'用途
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
)

參數

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

請參閱

參考

IDTSApplication100 介面

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間