This method retrieves the service ID (SID) of a service object that will be used to instantiate a source control package.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
- Type: System.Guid
[out] Returns the service GUID (SID) of a service object that will be used to instantiate a source control package.
This method is called by Visual Studio when the project is first being added to source control. Later, the service object, obtained with the SID saved from this method, is used to instantiate a source control package during the enlistment process when the project is being retrieved from source control.
- 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.