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)


Function GetUrl ( _
    <OutAttribute> ByRef pbstrURL As String _
) As Integer
‘사용 방법
Dim instance As IDiscoveryResult
Dim pbstrURL As String
Dim returnValue As Integer

returnValue = instance.GetUrl(pbstrURL)
int GetUrl(
    out string pbstrURL
int GetUrl(
    [OutAttribute] String^% pbstrURL
abstract GetUrl : 
        pbstrURL:string byref -> int 
function GetUrl(
    pbstrURL : String
) : int


  • 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.


COM Signature

From discoveryservice.idl:

HRESULT IDiscoveryResult::GetUrl(
   [out, retval] BSTR *pbstrUrl

.NET Framework Security

See Also


IDiscoveryResult Interface

IDiscoveryResult Members

Microsoft.VisualStudio.Shell.Interop Namespace