IDiscoveryResult.GetUrl Method
Returns the URL of the XML Web service.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetUrl ( _
<OutAttribute> ByRef pbstrURL As String _
) As Integer
int GetUrl(
out string pbstrURL
)
int GetUrl(
[OutAttribute] String^% pbstrURL
)
abstract GetUrl :
pbstrURL:string byref -> int
function GetUrl(
pbstrURL : String
) : int
Parameters
- pbstrURL
Type: System.String%
[out] Pointer to a string containing the URL.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From discoveryservice.idl:
HRESULT IDiscoveryResult::GetUrl(
[out, retval] BSTR *pbstrUrl
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.