Condividi tramite


IDTSApplication100.RenameFolderOnSQLServer Method

Definition

Renames a folder on the specified instance of SQL Server.

public:
 void RenameFolderOnSQLServer(System::String ^ bstrParent, System::String ^ bstrOldName, System::String ^ bstrNewName, System::String ^ bstrServerName, System::String ^ bstrServerUserName, System::String ^ bstrServerPassword);
[System.Runtime.InteropServices.DispId(20)]
public 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
Public 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.

Attributes

Applies to