ApplicationClass.GetDtsServerRoles(String, String) Method

Definition

Returns an array of Strings that lists the roles available for a folder.

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()

Parameters

bstrFolderPath
String

The folder whose roles you are interested in.

bstrServerName
String

The name of the instance that is running the Integration Services service.

Returns

String[]

An array of Strings, each string containing a role name.

Implements

Attributes

Applies to