Metoda WebServiceTaskUtil.GetWebMethodInfos
Pobiera tablicę zawierającą wszystkie dostępne metody usługa.
Przestrzeń nazw: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Zestaw: Microsoft.SqlServer.WebServiceTask (w Microsoft.SqlServer.WebServiceTask.dll)
Składnia
'Deklaracja
Public Function GetWebMethodInfos ( _
serviceName As String _
) As DTSWebMethodInfo()
'Użycie
Dim instance As WebServiceTaskUtil
Dim serviceName As String
Dim returnValue As DTSWebMethodInfo()
returnValue = instance.GetWebMethodInfos(serviceName)
public DTSWebMethodInfo[] GetWebMethodInfos(
string serviceName
)
public:
array<DTSWebMethodInfo^>^ GetWebMethodInfos(
String^ serviceName
)
member GetWebMethodInfos :
serviceName:string -> DTSWebMethodInfo[]
public function GetWebMethodInfos(
serviceName : String
) : DTSWebMethodInfo[]
Parametry
- serviceName
Typ: System.String
Nazwa usługa.
Wartość zwracana
Typ: array<Microsoft.SqlServer.Dts.Tasks.WebServiceTask.DTSWebMethodInfo[]
Tablica typu DTSWebMethodInfo.
Uwagi
Użyj GetServices metoda w celu uzyskania listy dostępnych usług.Z tej listy można wybrać usługa są zainteresowani i używać GetWebMethodInfos do uzyskiwania tablicy wszystkie metody w tej usługa.
Zobacz także