Creates an object that can be used to enumerate the current advisory connections.
Assembly: System (in System.dll)
'Declaration Function EnumDAdvise ( _ <OutAttribute> ByRef enumAdvise As IEnumSTATDATA _ ) As Integer
- Type: System.Runtime.InteropServices.ComTypes.IEnumSTATDATA
When this method returns, contains an IEnumSTATDATA that receives the interface pointer to the new enumerator object. If the implementation sets enumAdvise to Nothing, there are no connections to advisory sinks at this time. This parameter is passed uninitialized.
Return ValueType: System.Int32
This method supports the standard return value E_OUTOFMEMORY, as well as the following:
The enumerator object is successfully instantiated or there are no connections.
This object does not support advisory notifications.
Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.