ApplicationClass.GetDtsServerRoles(String, String) 方法

定义

返回列出文件夹的可用角色的字符串数组。

public:
 virtual cli::array <System::String ^> ^ GetDtsServerRoles(System::String ^ bstrFolderPath, System::String ^ bstrServerName) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::GetDtsServerRoles;
public:
 virtual cli::array <System::String ^> ^ GetDtsServerRoles(System::String ^ bstrFolderPath, System::String ^ bstrServerName) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::GetDtsServerRoles;
[System.Runtime.InteropServices.DispId(52)]
public virtual string[] GetDtsServerRoles (string bstrFolderPath, string bstrServerName);
[<System.Runtime.InteropServices.DispId(52)>]
abstract member GetDtsServerRoles : string * string -> string[]
override this.GetDtsServerRoles : string * string -> string[]
Public Overridable Function GetDtsServerRoles (bstrFolderPath As String, bstrServerName As String) As String()

参数

bstrFolderPath
String

您对其角色感兴趣的文件夹。

bstrServerName
String

正在运行 Integration Services 服务的实例的名称。

返回

String[]

一个字符串数组,每个字符串都包含一个角色名称。

实现

属性

适用于