Udostępnij za pośrednictwem


IVsSccOpenFromSourceControl.OpenSolutionFromSourceControl(String) Method

Definition

Opens the specified solution directly from source control, creating a local copy as necessary.

public:
 int OpenSolutionFromSourceControl(System::String ^ pszSolutionStoreUrl);
public:
 int OpenSolutionFromSourceControl(Platform::String ^ pszSolutionStoreUrl);
int OpenSolutionFromSourceControl(std::wstring const & pszSolutionStoreUrl);
public int OpenSolutionFromSourceControl (string pszSolutionStoreUrl);
abstract member OpenSolutionFromSourceControl : string -> int
Public Function OpenSolutionFromSourceControl (pszSolutionStoreUrl As String) As Integer

Parameters

pszSolutionStoreUrl
String

[in] The URL of the solution in source control to be opened (for example, msss://server/.../MySolution.sln).

Returns

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

Remarks

COM Signature

From ivssccopenfromsourcecontrol.idl

HRESULT OpenSolutionFromSourceControl(  
   [in] LPCOLESTR pszSolutionStoreUrl  
);  

The URL specified in pszSolutionStoreUrl is specific to the source control package implementing this method.

Applies to