Compartir a través de


ApplicationClass.RenameFolderOnSQLServer Método

Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.

Renames a folder on the specified instance of SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Ensamblado:  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintaxis

'Declaración
Public Overridable Sub RenameFolderOnSQLServer ( _
    bstrParent As String, _
    bstrOldName As String, _
    bstrNewName As String, _
    bstrServerName As String, _
    bstrServerUserName As String, _
    bstrServerPassword As String _
)
'Uso
Dim instance As ApplicationClass 
Dim bstrParent As String 
Dim bstrOldName As String 
Dim bstrNewName As String 
Dim bstrServerName As String 
Dim bstrServerUserName As String 
Dim bstrServerPassword As String

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

Parámetros

  • bstrOldName
    Tipo: System.String
    The name of the existing folder.
  • bstrServerName
    Tipo: System.String
    The name of the instance of SQL Server.
  • bstrServerUserName
    Tipo: System.String
    The user name to use when authenticating on the server.
  • bstrServerPassword
    Tipo: System.String
    The password associated with the bstrServerUserName account.

Implementa

IDTSApplication100.RenameFolderOnSQLServer(String, String, String, String, String, String)

Vea también

Referencia

ApplicationClass Clase

Espacio de nombres Microsoft.SqlServer.Dts.Runtime.Wrapper