ApplicationClass.RenameFolderOnDtsServer 方法
此 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 中)
语法
声明
Public Overridable Sub RenameFolderOnDtsServer ( _
bstrParent As String, _
bstrOldName As String, _
bstrNewName As String, _
bstrServerName As String _
)
用法
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
)
参数
- 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 server where the folder is located.
实现
IDTSApplication100.RenameFolderOnDtsServer(String, String, String, String)