Share via


ApplicationClass.RenameFolderOnSQLServer Method

Definition

Renames a folder on the specified instance of SQL Server.

public:
 virtual void RenameFolderOnSQLServer(System::String ^ bstrParent, System::String ^ bstrOldName, System::String ^ bstrNewName, System::String ^ bstrServerName, System::String ^ bstrServerUserName, System::String ^ bstrServerPassword) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::RenameFolderOnSQLServer;
public:
 virtual void RenameFolderOnSQLServer(System::String ^ bstrParent, System::String ^ bstrOldName, System::String ^ bstrNewName, System::String ^ bstrServerName, System::String ^ bstrServerUserName, System::String ^ bstrServerPassword) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::RenameFolderOnSQLServer;
[System.Runtime.InteropServices.DispId(20)]
public virtual void RenameFolderOnSQLServer (string bstrParent, string bstrOldName, string bstrNewName, string bstrServerName, string bstrServerUserName, string bstrServerPassword);
[<System.Runtime.InteropServices.DispId(20)>]
abstract member RenameFolderOnSQLServer : string * string * string * string * string * string -> unit
override this.RenameFolderOnSQLServer : string * string * string * string * string * string -> unit
Public Overridable Sub RenameFolderOnSQLServer (bstrParent As String, bstrOldName As String, bstrNewName As String, bstrServerName As String, bstrServerUserName As String, bstrServerPassword As String)

Parameters

bstrParent
String

The name of the parent folder.

bstrOldName
String

The name of the existing folder.

bstrNewName
String

The new name of the folder.

bstrServerName
String

The name of the instance of SQL Server.

bstrServerUserName
String

The user name to use when authenticating on the server.

bstrServerPassword
String

The password associated with the bstrServerUserName account.

Implements

Attributes

Applies to