Udostępnij za pośrednictwem


IVsSccTrackProjectEvents.AdviseSccProjectEvents(IVsSccProjectEvents) Method

Definition

Registers an advise sink object to receive notification of specified events affecting the source code control (SCC) project.

public:
 System::UInt32 AdviseSccProjectEvents(Microsoft::VisualStudio::Shell::Interop::IVsSccProjectEvents ^ pEventSink);
public:
 unsigned int AdviseSccProjectEvents(Microsoft::VisualStudio::Shell::Interop::IVsSccProjectEvents ^ pEventSink);
unsigned int AdviseSccProjectEvents(Microsoft::VisualStudio::Shell::Interop::IVsSccProjectEvents const & pEventSink);
public uint AdviseSccProjectEvents (Microsoft.VisualStudio.Shell.Interop.IVsSccProjectEvents pEventSink);
abstract member AdviseSccProjectEvents : Microsoft.VisualStudio.Shell.Interop.IVsSccProjectEvents -> uint32
Public Function AdviseSccProjectEvents (pEventSink As IVsSccProjectEvents) As UInteger

Parameters

pEventSink
IVsSccProjectEvents

[in] A pointer to the IVsSccProjectEvents interface on the client's advise sink. The client's sink receives outgoing calls from the SCC project.

Returns

A pointer to a returned token that uniquely identifies this SCC project.

Applies to