IDTSApplication100.GetDtsServerRoles メソッド

この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

フォルダーが使用できるロールの一覧を示す String の配列を返します。

名前空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
アセンブリ:  Microsoft.SqlServer.DTSRuntimeWrap (Microsoft.SqlServer.DTSRuntimeWrap.dll)

構文

'宣言
Function GetDtsServerRoles ( _
    bstrFolderPath As String, _
    bstrServerName As String _
) As String()
'使用
Dim instance As IDTSApplication100 
Dim bstrFolderPath As String 
Dim bstrServerName As String 
Dim returnValue As String()

returnValue = instance.GetDtsServerRoles(bstrFolderPath, _
    bstrServerName)
string[] GetDtsServerRoles(
    string bstrFolderPath,
    string bstrServerName
)
array<String^>^ GetDtsServerRoles(
    [InAttribute] String^ bstrFolderPath, 
    [InAttribute] String^ bstrServerName
)
abstract GetDtsServerRoles : 
        bstrFolderPath:string * 
        bstrServerName:string -> string[] 
function GetDtsServerRoles(
    bstrFolderPath : String, 
    bstrServerName : String
) : String[]

パラメーター

  • bstrFolderPath
    型: System.String
    対象とするロールを保持しているフォルダーです。
  • bstrServerName
    型: System.String
    Integration Services サービスを実行しているインスタンスの名前です。

戻り値

型: array<System.String[]
String の配列です。各文字列にはロールの名前が含まれています。

関連項目

参照

IDTSApplication100 インターフェイス

Microsoft.SqlServer.Dts.Runtime.Wrapper 名前空間