Compartir a través de


IDTSApplication100.GetDtsServerRoles Método

Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Ensamblado:  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintaxis

'Declaración
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 devuelto

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

Vea también

Referencia

IDTSApplication100 Interfaz

Espacio de nombres Microsoft.SqlServer.Dts.Runtime.Wrapper