Метод IDTSApplication100.RenameFolderOnSQLServer
Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.
Renames a folder on the specified instance of SQL Server.
Пространство имен: Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка: Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)
Синтаксис
'Декларация
Sub RenameFolderOnSQLServer ( _
bstrParent As String, _
bstrOldName As String, _
bstrNewName As String, _
bstrServerName As String, _
bstrServerUserName As String, _
bstrServerPassword As String _
)
'Применение
Dim instance As IDTSApplication100
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)
void RenameFolderOnSQLServer(
string bstrParent,
string bstrOldName,
string bstrNewName,
string bstrServerName,
string bstrServerUserName,
string bstrServerPassword
)
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
function RenameFolderOnSQLServer(
bstrParent : String,
bstrOldName : String,
bstrNewName : String,
bstrServerName : String,
bstrServerUserName : String,
bstrServerPassword : String
)
Параметры
- bstrParent
Тип: System.String
The name of the parent folder.
- bstrOldName
Тип: System.String
The name of the existing folder.
- bstrNewName
Тип: System.String
The new name of the folder.
- bstrServerName
Тип: System.String
The name of the instance of SQL Server.
- bstrServerUserName
Тип: System.String
The user name to use when authenticating on the server.
- bstrServerPassword
Тип: System.String
The password associated with the bstrServerUserName account.