IVsOutput2::get_DeploySourceURL Method (String^)

 

Returns the web location of an output item.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int get_DeploySourceURL(
	[OutAttribute] String^% pbstrDeploySourceURL
)

Parameters

pbstrDeploySourceURL
Type: System::String^

[out] Pointer to the output item's web location in URL format.

Return Value

Type: System::Int32

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

From vsshell.idl:

HRESULT IVsOutput2::get_DeploySourceURL(
   [out] BSTR *pbstrDeploySourceURL
);

For output items stored in the local file system, pbstrDeploySourceURL should begin with the following eight characters: "file:///." However, callers should not assume that the string is in any particular format. They should parse the pbstrDeploySourceURL to determine if they can access the specified location.

Return to top
Show: