예제 #1
0
 internal DualCoTaskMem(UnsafeNativeMethods.IDBSchemaRowset dbSchemaRowset, out int schemaCount, out IntPtr schemaGuids, out IntPtr schemaRestrictions, out OleDbHResult hr) : this()
 {
     Bid.Trace("<oledb.IDBSchemaRowset.GetSchemas|API|OLEDB>\n");
     hr                 = dbSchemaRowset.GetSchemas(out schemaCount, out this.handle, out this.handle2);
     schemaGuids        = base.handle;
     schemaRestrictions = this.handle2;
     Bid.Trace("<oledb.IDBSchemaRowset.GetSchemas|API|OLEDB|RET> %08X{HRESULT}\n", hr);
 }
예제 #2
0
 // IDBSchemaRowset.GetSchemas
 internal DualCoTaskMem(UnsafeNativeMethods.IDBSchemaRowset dbSchemaRowset, out int schemaCount, out IntPtr schemaGuids, out IntPtr schemaRestrictions, out OleDbHResult hr) : this()
 {
     hr                 = dbSchemaRowset.GetSchemas(out schemaCount, out base.handle, out this.handle2);
     schemaGuids        = base.handle;
     schemaRestrictions = this.handle2;
 }