Share via


IDTSApplication100.GetDtsServerRoles Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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

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

Syntax

'Declaration
Function GetDtsServerRoles ( _
    bstrFolderPath As String, _
    bstrServerName As String _
) As String()
'Usage
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[]

Parameters

  • 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.

Return Value

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

See Also

Reference

IDTSApplication100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace