WebServiceTaskUtil.Invoke 메서드
Calls the specified Web method with the supplied parameters.
네임스페이스: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
어셈블리: Microsoft.SqlServer.WebServiceTask(Microsoft.SqlServer.WebServiceTask.dll)
구문
‘선언
Public Function Invoke ( _
methodInfo As DTSWebMethodInfo, _
serviceName As String, _
connection As Object, _
taskVariableDispenser As VariableDispenser _
) As Object
‘사용 방법
Dim instance As WebServiceTaskUtil
Dim methodInfo As DTSWebMethodInfo
Dim serviceName As String
Dim connection As Object
Dim taskVariableDispenser As VariableDispenser
Dim returnValue As Object
returnValue = instance.Invoke(methodInfo, _
serviceName, connection, taskVariableDispenser)
public Object Invoke(
DTSWebMethodInfo methodInfo,
string serviceName,
Object connection,
VariableDispenser taskVariableDispenser
)
public:
Object^ Invoke(
DTSWebMethodInfo^ methodInfo,
String^ serviceName,
Object^ connection,
VariableDispenser^ taskVariableDispenser
)
member Invoke :
methodInfo:DTSWebMethodInfo *
serviceName:string *
connection:Object *
taskVariableDispenser:VariableDispenser -> Object
public function Invoke(
methodInfo : DTSWebMethodInfo,
serviceName : String,
connection : Object,
taskVariableDispenser : VariableDispenser
) : Object
매개 변수
- methodInfo
유형: Microsoft.SqlServer.Dts.Tasks.WebServiceTask.DTSWebMethodInfo
A DTSWebMethodInfo that provides information about the Web method to be called.
- serviceName
유형: System.String
The name of the service.
- connection
유형: System.Object
An HttpClientConnection that provides the URL for the Web service.
- taskVariableDispenser
유형: Microsoft.SqlServer.Dts.Runtime.VariableDispenser
The VariableDispenser associated with the task.
반환 값
유형: System.Object
The results from the call to the Web method.