Метод IDTSApplication100.CreateFolderOnSQLServer
Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.
Creates a folder on the specified instance of SQL Server.
Пространство имен: Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка: Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)
Синтаксис
'Декларация
Sub CreateFolderOnSQLServer ( _
bstrParent As String, _
bstrNewFolderName As String, _
bstrServerName As String, _
bstrServerUserName As String, _
bstrServerPassword As String _
)
'Применение
Dim instance As IDTSApplication100
Dim bstrParent As String
Dim bstrNewFolderName As String
Dim bstrServerName As String
Dim bstrServerUserName As String
Dim bstrServerPassword As String
instance.CreateFolderOnSQLServer(bstrParent, _
bstrNewFolderName, bstrServerName, _
bstrServerUserName, bstrServerPassword)
void CreateFolderOnSQLServer(
string bstrParent,
string bstrNewFolderName,
string bstrServerName,
string bstrServerUserName,
string bstrServerPassword
)
void CreateFolderOnSQLServer(
[InAttribute] String^ bstrParent,
[InAttribute] String^ bstrNewFolderName,
[InAttribute] String^ bstrServerName,
[InAttribute] String^ bstrServerUserName,
[InAttribute] String^ bstrServerPassword
)
abstract CreateFolderOnSQLServer :
bstrParent:string *
bstrNewFolderName:string *
bstrServerName:string *
bstrServerUserName:string *
bstrServerPassword:string -> unit
function CreateFolderOnSQLServer(
bstrParent : String,
bstrNewFolderName : String,
bstrServerName : String,
bstrServerUserName : String,
bstrServerPassword : String
)
Параметры
- bstrParent
Тип: System.String
The name of the parent folder. If you want to create a folder under the File System node, use the CreateFolderOnDtsServer method.
- bstrNewFolderName
Тип: System.String
The name of the folder to create.
- 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.