IDataObject.EnumDAdvise(IEnumSTATDATA) Método
Definição
Cria um objeto que pode ser usado para enumerar as conexões de consultoria atuais.Creates an object that can be used to enumerate the current advisory connections.
public:
int EnumDAdvise([Runtime::InteropServices::Out] System::Runtime::InteropServices::ComTypes::IEnumSTATDATA ^ % enumAdvise);
public int EnumDAdvise (out System.Runtime.InteropServices.ComTypes.IEnumSTATDATA? enumAdvise);
public int EnumDAdvise (out System.Runtime.InteropServices.ComTypes.IEnumSTATDATA enumAdvise);
abstract member EnumDAdvise : IEnumSTATDATA -> int
Public Function EnumDAdvise (ByRef enumAdvise As IEnumSTATDATA) As Integer
Parâmetros
- enumAdvise
- IEnumSTATDATA
Quando este método retorna, contém um IEnumSTATDATA que recebe o ponteiro de interface para o novo objeto de enumerador.When this method returns, contains an IEnumSTATDATA that receives the interface pointer to the new enumerator object. Se a implementação definir enumAdvise como null, não haverá conexões com coletores de consultoria neste momento.If the implementation sets enumAdvise to null, there are no connections to advisory sinks at this time. Este parâmetro é passado não inicializado.This parameter is passed uninitialized.
Retornos
Este método é compatível com os valores retornados padrão E_OUTOFMEMORY e também com os seguintes:This method supports the standard return value E_OUTOFMEMORY, as well as the following:
| ValorValue | DescriçãoDescription |
|---|---|
| S_OKS_OK | A instância do objeto de enumerador foi criada com sucesso ou não há conexões.The enumerator object is successfully instantiated or there are no connections. |
| OLE_E_ADVISENOTSUPPORTEDOLE_E_ADVISENOTSUPPORTED | Este objeto não é compatível com notificações de consultoria.This object does not support advisory notifications. |
Comentários
Para obter mais informações, consulte o método IDataObject:: EnumDAdvise.For more information, see IDataObject::EnumDAdvise method.