Поделиться через


Метод IDTSApplication100.GetDtsServerRoles

Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.

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

Пространство имен:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка:  Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)

Синтаксис

'Декларация
Function GetDtsServerRoles ( _
    bstrFolderPath As String, _
    bstrServerName As String _
) As String()
'Применение
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[]

Параметры

  • bstrFolderPath
    Тип: System.String
    The folder whose roles you are interested in.
  • bstrServerName
    Тип: System.String
    The name of the instance that is running the Службы Integration Services service.

Возвращаемое значение

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

См. также

Справочник

IDTSApplication100 Интерфейс

Пространство имен Microsoft.SqlServer.Dts.Runtime.Wrapper