Udostępnij przez


Metoda ApplicationClass.GetDtsServerRoles

Ten interfejs API obsługuje infrastrukturę programu i nie jest przeznaczony do użycia bezpośrednio w kodzie.

Aby uzyskać więcej informacji, zobacz temat Application.

Przestrzeń nazw:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Zestaw:  Microsoft.SqlServer.DTSRuntimeWrap (w Microsoft.SqlServer.DTSRuntimeWrap.dll)

Składnia

'Deklaracja
Public Overridable Function GetDtsServerRoles ( _
    bstrFolderPath As String, _
    bstrServerName As String _
) As String()
'Użycie
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[]

Parametry

Wartość zwracana

Typ: array<System.String[]

Implementacje

IDTSApplication100.GetDtsServerRoles(String, String)