Database component.
Share
AcSmDatabase (SSO)
Topics in this section
- AcSmDatabase.Clear Method (SSO)
Resets and cleans up the object, leaving the object uninitialized. - AcSmDatabase.FindObject Method (SSO)
Finds an IAcSmPersist object based on the persisted handle of the object instance. - AcSmDatabase.GetCustomPropertyBag Method (SSO)
Retrieves the custom property bag of the component. - AcSmDatabase.GetDatabase Method (SSO)
Retrieves the parent IAcSmDatabase object. If the method succeeds, the return value is S_OK. If the parent database cannot be found, S_FALSE is returned and the provided pointer is populated with null. All other return values indicate an error condition. - AcSmDatabase.GetDbVersion Method (SSO)
Gets the version number of an AcSmDatabase. - AcSmDatabase.GetDesc Method (SSO)
Retrieves the description of the component. - AcSmDatabase.GetDirectlyOwnedObjects Method (SSO)
Returns an array of the directly owned objects. If the method succeeds, the return value is S_OK. If the parent database cannot be found, S_FALSE is returned and the provided pointer is populated with null. All other return values indicate an error condition. - AcSmDatabase.GetEnumerator Method (SSO)
Returns an enumerator of all objects in the database. - AcSmDatabase.GetFileName Method (SSO)
Retrieves the file name of the database. - AcSmDatabase.GetIsDirty Method (SSO)
If VARIANT_TRUE is returned, then the persistable component was modified and is committed when the owner AcSmDatabaseAcSmDatabase is unlocked. - AcSmDatabase.GetIsTemporary Method (SSO)
Retrieves a flag indicating a non-persisted database. - AcSmDatabase.GetLockOwnerInfo Method (SSO)
Returns the user name and machine name of the lock owner. - AcSmDatabase.GetLockStatus Method (SSO)
Retrieves the lock status of the database. - AcSmDatabase.GetName Method (SSO)
Retrieves the Name property of the component. - AcSmDatabase.GetNewObjectId Method (SSO)
Retrieves the IAcSmObjectId for a handle or generates a new ID. - AcSmDatabase.GetObjectId Method (SSO)
Retrieves the IAcSmObjectId of the object. If the method succeeds, the return value is S_OK. If the parent database cannot be found, S_FALSE is returned and the provided pointer is populated with null. All other return values indicate an error condition. - AcSmDatabase.GetOwner Method (SSO)
Retrieves a pointer to the owning IAcSmPersist parent object. - AcSmDatabase.GetSheetSet Method (SSO)
Retrieves the IAcSmSheetSet component contained in the database. - AcSmDatabase.GetTemplateDstFileName Method (SSO)
Gets the file name of the template DST file specified with the LoadFromFile method when the database object was created. - AcSmDatabase.GetTypeName Method (SSO)
Retrieves the descriptive name representing the coclass. This method is used mainly by the filer. - AcSmDatabase.InitNew Method (SSO)
Initialization of a newly created persistable object. This method and the Load method are the only two ways to initialize a persistable component. - AcSmDatabase.LoadFromFile Method (SSO)
Clears the contents of the database and loads data from a file. The file name property of the database is unchanged; the original file name is used by the GetFileName method and the original file name is used when data is written to the disk. - AcSmDatabase.Load Method (SSO)
This API was designed for internal use and has not been thoroughly tested. - AcSmDatabase.LockDb Method (SSO)
Locks the database so it can be modified. - AcSmDatabase.NotifyRegisteredEventHandlers Method (SSO)
Forces a notification to all registered notification handlers. - AcSmDatabase.Register Method (SSO)
Registers a callback notification handler and returns a unique cookie for the handler. - AcSmDatabase.RegisterOwner Method (SSO)
Provides a way to construct component graphs using the idCookie parameter as a security key. - AcSmDatabase.Save Method (SSO)
This API was designed for internal use and has not been thoroughly tested. - AcSmDatabase.SetDesc Method (SSO)
Sets the description of the component. - AcSmDatabase.SetFileName Method (SSO)
Set the file name for this database. You can set the file name only once. - AcSmDatabase.SetIsTemporary Method (SSO)
Marks the database as non-persisted. - AcSmDatabase.SetName Method (SSO)
Sets the NameName property of the component. - AcSmDatabase.SetOwner Method (SSO)
Sets the owner property of the IAcSmPersist object. The owning object should have a direct reference to this object. - AcSmDatabase.UnlockDb Method (SSO)
Unlocks the database. - AcSmDatabase.Unregister Method (SSO)
Unregisters a callback notification handler that was previously registered. - AcSmDatabase.UpdateInMemoryDwgHints Method (SSO)
Updates the hints in the open drawings referenced by this database.
Related Concepts
Related Reference
- Guidelines for Modifying a Sheet Set (SSO)
- Create or Open a Sheet Set Database (SSO)
- AcSmDatabase.Clear Method (SSO)
- AcSmDatabase.FindObject Method (SSO)
- AcSmDatabase.GetCustomPropertyBag Method (SSO)
- AcSmDatabase.GetDatabase Method (SSO)
- AcSmDatabase.GetDbVersion Method (SSO)
- AcSmDatabase.GetDesc Method (SSO)
- AcSmDatabase.GetDirectlyOwnedObjects Method (SSO)
- AcSmDatabase.GetEnumerator Method (SSO)
- AcSmDatabase.GetFileName Method (SSO)
- AcSmDatabase.GetIsDirty Method (SSO)
- AcSmDatabase.GetIsTemporary Method (SSO)
- AcSmDatabase.GetLockOwnerInfo Method (SSO)
- AcSmDatabase.GetLockStatus Method (SSO)
- AcSmDatabase.GetName Method (SSO)
- AcSmDatabase.GetNewObjectId Method (SSO)
- AcSmDatabase.GetObjectId Method (SSO)
- AcSmDatabase.GetOwner Method (SSO)
- AcSmDatabase.GetSheetSet Method (SSO)
- AcSmDatabase.GetTemplateDstFileName Method (SSO)
- AcSmDatabase.GetTypeName Method (SSO)
- AcSmDatabase.InitNew Method (SSO)
- AcSmDatabase.Load Method (SSO)
- AcSmDatabase.LoadFromFile Method (SSO)
- AcSmDatabase.LockDb Method (SSO)
- AcSmDatabase.NotifyRegisteredEventHandlers Method (SSO)
- AcSmDatabase.Register Method (SSO)
- AcSmDatabase.RegisterOwner Method (SSO)
- AcSmDatabase.Save Method (SSO)
- AcSmDatabase.SetDesc Method (SSO)
- AcSmDatabase.SetFileName Method (SSO)
- AcSmDatabase.SetIsTemporary Method (SSO)
- AcSmDatabase.SetName Method (SSO)
- AcSmDatabase.SetOwner Method (SSO)
- AcSmDatabase.UnlockDb Method (SSO)
- AcSmDatabase.Unregister Method (SSO)
- AcSmDatabase.UpdateInMemoryDwgHints Method (SSO)