Partager via


Méthode ApplicationClass.GetDtsServerRoles

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
Public Overridable Function GetDtsServerRoles ( _
    bstrFolderPath As String, _
    bstrServerName As String _
) As String()
'Utilisation
Dim instance As ApplicationClass 
Dim bstrFolderPath As String 
Dim bstrServerName As String 
Dim returnValue As String()

returnValue = instance.GetDtsServerRoles(bstrFolderPath, _
    bstrServerName)
public virtual string[] GetDtsServerRoles(
    string bstrFolderPath,
    string bstrServerName
)
public:
virtual array<String^>^ GetDtsServerRoles(
    [InAttribute] String^ bstrFolderPath, 
    [InAttribute] String^ bstrServerName
)
abstract GetDtsServerRoles : 
        bstrFolderPath:string * 
        bstrServerName:string -> string[] 
override GetDtsServerRoles : 
        bstrFolderPath:string * 
        bstrServerName:string -> string[] 
public function GetDtsServerRoles(
    bstrFolderPath : String, 
    bstrServerName : String
) : String[]

Paramètres

  • bstrFolderPath
    Type : System.String
    The folder whose roles you are interested in.
  • bstrServerName
    Type : System.String
    The name of the instance that is running the Integration Services service.

Valeur de retour

Type : array<System.String[]
An array of Strings, each string containing a role name.

Implémente

IDTSApplication100.GetDtsServerRoles(String, String)

Voir aussi

Référence

ApplicationClass Classe

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper