共用方式為


IVsWebService.Url(String) Method

Definition

Specifies the URL for the service.

public:
 int Url([Runtime::InteropServices::Out] System::String ^ % bstrUrl);
int Url([Runtime::InteropServices::Out] std::wstring const & & bstrUrl);
public int Url (out string bstrUrl);
abstract member Url : string -> int
Public Function Url (ByRef bstrUrl As String) As Integer

Parameters

bstrUrl
String

[out] String containing the URL for the service. This URL may be different from the URL used to discover the service.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to