其他分享
首页 > 其他分享> > Delphi ADOConnection1.Errors

Delphi ADOConnection1.Errors

作者:互联网

Delphi ADOConnection1.Errors

Errors是Errors集合的实现。

语法原型:

property Errors: Errors;

描述:

  

Error = ADOInt.Error;
  Error = interface(IDispatch)
    function Get_Number: Integer; safecall;
    function Get_Source: WideString; safecall;
    function Get_Description: WideString; safecall;
    function Get_HelpFile: WideString; safecall;
    function Get_HelpContext: Integer; safecall;
    function Get_SQLState: WideString; safecall;
    function Get_NativeError: Integer; safecall;
    property Number: Integer read Get_Number;
    property Source: WideString read Get_Source;
    property Description: WideString read Get_Description;
    property HelpFile: WideString read Get_HelpFile;
    property HelpContext: Integer read Get_HelpContext;
    property SQLState: WideString read Get_SQLState;
    property NativeError: Integer read Get_NativeError;
  end;
  

Errors = ADOInt.Errors;
Errors = interface(_Collection)
    function Get_Item(Index: OleVariant): Error; safecall;
    procedure Clear; safecall;
    property Item[Index: OleVariant]: Error read Get_Item; default;
  end;

  

  

 

 

 

创建时间:2021.02.06  更新时间:

标签:function,safecall,ADOConnection1,Get,read,Delphi,Errors,property
来源: https://www.cnblogs.com/guorongtao/p/14380613.html