Compartilhar via


Método IDTSApplication100.GetDtsServerRoles

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

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

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintaxe

'Declaração
Function GetDtsServerRoles ( _
    bstrFolderPath As String, _
    bstrServerName As String _
) As String()
'Uso
Dim instance As IDTSApplication100 
Dim bstrFolderPath As String 
Dim bstrServerName As String 
Dim returnValue As String()

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

Parâmetros

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

Valor de retorno

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

Consulte também

Referência

IDTSApplication100 Interface

Namespace Microsoft.SqlServer.Dts.Runtime.Wrapper