IVsSccTrackProjectEvents.AdviseSccProjectEvents Method
Registers an advise sink object to receive notification of specified events affecting the source code control (SCC) project.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Function AdviseSccProjectEvents ( _
pEventSink As IVsSccProjectEvents _
) As UInteger
uint AdviseSccProjectEvents(
IVsSccProjectEvents pEventSink
)
unsigned int AdviseSccProjectEvents(
[InAttribute] IVsSccProjectEvents^ pEventSink
)
abstract AdviseSccProjectEvents :
pEventSink:IVsSccProjectEvents -> uint32
function AdviseSccProjectEvents(
pEventSink : IVsSccProjectEvents
) : uint
Parameters
pEventSink
Type: Microsoft.VisualStudio.Shell.Interop.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.
Return Value
Type: UInt32
A pointer to a returned token that uniquely identifies this SCC project.
.NET Framework Security
- 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.