Bilgilerinde hata arabirimler
The SQL Server Native Client OLE DB provider reports some error and status information in the OLE DB-defined error interfaces IErrorInfo, IErrorRecords, and ISQLErrorInfo.
The SQL Server Native Client OLE DB provider supports IErrorInfo member functions as follows.
Üye işlev |
Açıklama |
---|---|
GetDescription |
Açıklayıcı hata iletisi dize. |
GetGUID |
Hata tanımlanan arabirim GUID. |
GetHelpContext |
Desteklenmez.Her zaman sıfır döndürür. |
GetHelpFile |
Desteklenmez.Her zaman null döndürür. |
GetSource |
Dize "Microsoft sql Server Native Client". |
The SQL Server Native Client OLE DB provider supports consumer-available IErrorRecords member functions as follows.
Üye işlev |
Açıklama |
---|---|
GetBasicErrorInfo |
ERRORINFO yapısı hata ile ilgili temel bilgilerle doldurur.ERRORINFO yapısı, hresult hata ve sağlayıcı ve hata uygulandığı arabirim için dönüş değeri tanımlayan üyeleri içerir. |
GetCustomErrorObject |
Arabirimler üzerinde bir başvuru verir ISQLErrorInfo, ve ISQLServerErrorInfo. |
GetErrorInfo |
Bir başvuru geri bildirir bir IErrorInfo arabirim. |
GetErrorParameters |
The SQL Server Native Client OLE DB provider does not return parameters to the consumer through GetErrorParameters. |
GetRecordCount |
Hata kaydı sayısı. |
The SQL Server Native Client OLE DB provider supports ISQLErrorInfo::GetSQLInfo parameters as follows.
Parameter |
Açıklama |
---|---|
pbstrSQLState |
Bir sqlstate hata değerini döndürür.sqlstate değerleri sql-92, odbc ve ISO sql ve API belirtimlerini tanımlanır.Ne SQL Server ne de SQL Server yerel istemci ole db sağlayıcı tanımlı alımına sqlstate değerleri. |
plNativeError |
Döndürür SQL Server Hata numarası master.dbo.sysmessages olduğunda kullanılabilir.Yerel hatalar kullanılabilir başlatmak için başarılı girişiminden sonra bir SQL Server yerel istemci ole db sağlayıcı veri kaynak.Girişimi için önce SQL Server her zaman yerel istemci ole db sağlayıcı döndürür sıfır. |