语言

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

运行集成服务服务的实例名称。

返回

String[]

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

实现

属性

适用于