WebServiceTaskUtil.GetWebMethodInfos(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个数组,该数组包含在某一服务中提供的所有方法。
public:
cli::array <Microsoft::SqlServer::Dts::Tasks::WebServiceTask::DTSWebMethodInfo ^> ^ GetWebMethodInfos(System::String ^ serviceName);
public Microsoft.SqlServer.Dts.Tasks.WebServiceTask.DTSWebMethodInfo[] GetWebMethodInfos (string serviceName);
member this.GetWebMethodInfos : string -> Microsoft.SqlServer.Dts.Tasks.WebServiceTask.DTSWebMethodInfo[]
Public Function GetWebMethodInfos (serviceName As String) As DTSWebMethodInfo()
参数
- serviceName
- String
服务的名称。
返回
DTSWebMethodInfo 类型的数组。
注解
使用此方法 GetServices 获取所有可用服务的列表。 从该列表中,你可以选取感兴趣的服务,并使用该 GetWebMethodInfos 服务获取该服务中所有方法的数组。