CODataSource Class Members

  1. Data Member
    m_pIDBInitialize:    Indicates an interface attached to this object.
  2. Construction/Destruction
    CODataSource:    Constructs a CODataSource object.
    ~CODataSource:    Destructs a CODataSource object.

  3. Connection & Disconnection
    Open:    Builds and initializes a connection to an OLEDB provider.

    Close:    Closes a connection to an OLEDB provider.
    IsOpen:    Checks if a CODataSource object is opened.

  4. Data Source Information  & Properties
    SetPropEx:    Sets extra property after opening a CODataSource objects.
    GetDBPropFlags:    Gets a set of flags according to a given property ID after opening a CODataSource objects.
    GetProperty:    Gets a property value based on a given property ID after opening a CODataSource objects.
    SetServer:    Sets a server name before  opening a CODataSource objects.
    SetLocation:    Sets a machine name before opening a CODataSource objects.
    SetDatabase:     Sets a database name before opening a CODataSource objects.
    SetUID:     Sets a user ID before opening a CODataSource objects.
    SetPWD:     Sets a password for a user before opening a CODataSource objects.
    SetProviderString:    Sets a provider-specific, extended connection information string before opening a CODataSource objects.

  5. Data SourceCreation
    CreateDataSource:    Creates a data source.

  6. Other Functions
    GetRefGuid:    Used by global template functions.
    GetBaseIID:    Used by global template functions.
    GetBaseInterfacePPtr:    Used by global template functions.
    PostProcess:    Used by global template functions.

CODataSource Class Overview