Share via


ApplicationClass.GetDtsServerRoles(String, String) Méthode

Définition

Retourne un tableau de valeurs String qui répertorie les rôles disponibles pour un dossier.

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

Paramètres

bstrFolderPath
String

Dossier contenant les rôles qui vous intéressent.

bstrServerName
String

Nom de l'instance exécutant le service Integration Services.

Retours

String[]

Tableau de valeurs String (chaque chaîne contient un nom de rôle).

Implémente

Attributs

S’applique à