Язык

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[]

Массив строк, каждая строка содержит имя роли.

Реализации

Атрибуты

Применяется к