ADOX Code Examples in Microsoft Visual C++
These topics provide sample code to help you understand how to use ADOX. All code examples are written using Microsoft Visual C++.
Note Paste the entire code example, from beginning to end, into your code editor. The example may not run correctly if you use partial examples or if paragraph formatting is lost.
Methods
- Columns and Tables Append Methods, Name Property Example (VC++)
- Connection Close Method, Table Type Property Example (VC++)
- Create Method Example (VC++)
- GetObjectOwner and SetObjectOwner Methods Example (VC++)
- GetPermissions and SetPermissions Methods Example (VC++)
- Groups and Users Append, ChangePassword Methods Example (VC++)
- Indexes Append Method Example (VC++)
- Keys Append Method, Key Type, RelatedColumn, RelatedTable, and UpdateRule Properties Example (VC++)
Properties
- Attributes Property Example (VC++)
- Catalog ActiveConnection Property Example (VC++)
- Clustered Property Example (VC++)
- Command and CommandText Properties Example (VC++)
- Command Property, Parameters Collection Example (VC++)
- DateCreated and DateModified Properties Example (VC++)
- DefinedSize Property Example (VC++)
- DeleteRule Property Example (VC++)
- IndexNulls Property Example (VC++)
- Key Type, RelatedColumn, RelatedTable, UpdateRule Properties, Keys Append Method Example (VC++)
- Name Property, Columns and Tables Append Methods Example (VC++)
- NumericScale and Precision Properties Example (VC++)
- ParentCatalog Property Example (VC++)
- PrimaryKey and Unique Properties Example (VC++)
- Table Type Property, Connection Close Method Example (VC++)
Collections