Compartilhar via


Método ApplicationClass.RenameFolderOnDtsServer

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

Renames a folder on the specified instance of SQL Server.

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

Sintaxe

'Declaração
Public Overridable Sub RenameFolderOnDtsServer ( _
    bstrParent As String, _
    bstrOldName As String, _
    bstrNewName As String, _
    bstrServerName As String _
)
'Uso
Dim instance As ApplicationClass 
Dim bstrParent As String 
Dim bstrOldName As String 
Dim bstrNewName As String 
Dim bstrServerName As String

instance.RenameFolderOnDtsServer(bstrParent, _
    bstrOldName, bstrNewName, bstrServerName)
public virtual void RenameFolderOnDtsServer(
    string bstrParent,
    string bstrOldName,
    string bstrNewName,
    string bstrServerName
)
public:
virtual 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  
override RenameFolderOnDtsServer : 
        bstrParent:string * 
        bstrOldName:string * 
        bstrNewName:string * 
        bstrServerName:string -> unit
public function RenameFolderOnDtsServer(
    bstrParent : String, 
    bstrOldName : String, 
    bstrNewName : String, 
    bstrServerName : String
)

Parâmetros

  • bstrOldName
    Tipo: System.String
    The name of the existing folder.
  • bstrServerName
    Tipo: System.String
    The name of the server where the folder is located.

Implementa

IDTSApplication100.RenameFolderOnDtsServer(String, String, String, String)

Consulte também

Referência

ApplicationClass Classe

Namespace Microsoft.SqlServer.Dts.Runtime.Wrapper