この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。
指定されたパスからフォルダーを返します。
名前空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
アセンブリ: Microsoft.SqlServer.DTSRuntimeWrap (Microsoft.SqlServer.DTSRuntimeWrap.dll)
構文
'宣言
Public Overridable Function FolderFromPath ( _
bstrFolderName As String, _
bstrServerName As String, _
bstrServerUserName As String, _
bstrServerPassword As String _
) As Guid
'使用
Dim instance As ApplicationClass
Dim bstrFolderName As String
Dim bstrServerName As String
Dim bstrServerUserName As String
Dim bstrServerPassword As String
Dim returnValue As Guid
returnValue = instance.FolderFromPath(bstrFolderName, _
bstrServerName, bstrServerUserName, _
bstrServerPassword)
public virtual Guid FolderFromPath(
string bstrFolderName,
string bstrServerName,
string bstrServerUserName,
string bstrServerPassword
)
public:
virtual Guid FolderFromPath(
[InAttribute] String^ bstrFolderName,
[InAttribute] String^ bstrServerName,
[InAttribute] String^ bstrServerUserName,
[InAttribute] String^ bstrServerPassword
)
abstract FolderFromPath :
bstrFolderName:string *
bstrServerName:string *
bstrServerUserName:string *
bstrServerPassword:string -> Guid
override FolderFromPath :
bstrFolderName:string *
bstrServerName:string *
bstrServerUserName:string *
bstrServerPassword:string -> Guid
public function FolderFromPath(
bstrFolderName : String,
bstrServerName : String,
bstrServerUserName : String,
bstrServerPassword : String
) : Guid
パラメーター
- bstrFolderName
型: System.String
フォルダーの名前。
- bstrServerName
型: System.String
パッケージを検索する SQL Server のインスタンスの名前です。
- bstrServerUserName
型: System.String
SQL Server のインスタンスに対して認証するユーザー名です。
- bstrServerPassword
型: System.String
指定した bstrServerUserName のパスワードです。
戻り値
型: System.Guid
指定されたパスのフォルダーです。
実装
IDTSApplication100.FolderFromPath(String, String, String, String)