共用方式為


IDTSApplication100.RenameFolderOnDtsServer 方法

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

Renames a folder on the specified server.

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

語法

'宣告
Sub RenameFolderOnDtsServer ( _
    bstrParent As String, _
    bstrOldName As String, _
    bstrNewName As String, _
    bstrServerName As String _
)
'用途
Dim instance As IDTSApplication100 
Dim bstrParent As String 
Dim bstrOldName As String 
Dim bstrNewName As String 
Dim bstrServerName As String

instance.RenameFolderOnDtsServer(bstrParent, _
    bstrOldName, bstrNewName, bstrServerName)
void RenameFolderOnDtsServer(
    string bstrParent,
    string bstrOldName,
    string bstrNewName,
    string bstrServerName
)
void RenameFolderOnDtsServer(
    [InAttribute] String^ bstrParent, 
    [InAttribute] String^ bstrOldName, 
    [InAttribute] String^ bstrNewName, 
    [InAttribute] String^ bstrServerName
)
abstract RenameFolderOnDtsServer : 
        bstrParent:string * 
        bstrOldName:string * 
        bstrNewName:string * 
        bstrServerName:string -> unit
function RenameFolderOnDtsServer(
    bstrParent : String, 
    bstrOldName : String, 
    bstrNewName : String, 
    bstrServerName : String
)

參數

  • bstrParent
    型別:System.String
    The name of the parent folder.
  • bstrOldName
    型別:System.String
    The name of the existing folder.
  • bstrServerName
    型別:System.String
    The name of the server where the folder is located.

請參閱

參考

IDTSApplication100 介面

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