IDiscoveryClientResult.GetUrl Method
Returns the URL of the referenced document in the discovery document.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.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 the string containing the URL of the document referenced in the discovery document.
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 designer.idl:
HRESULT IDiscoveryClientResult::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.