Click or drag to resize

DatabaseLocation Properties

The DatabaseLocation type exposes the following members.

Properties
  NameDescription
Public propertyAllowOtherTypesOnSamePage
Objects can be stored more efficiently if all object types on the page share the same type. By default mixed types are allowed. Override this to return false for types that should not share pages with other types.
(Overrides OptimizedPersistableAllowOtherTypesOnSamePage.)
Public propertyBackupOfOrForLocation
Gets a linked DatabaseLocation that is either backup of location or is the location being backup up which is decided by IsBackupLocation
Public propertyCache
We do want to cache this kind of object since they are likely to be frequently used.
(Overrides OptimizedPersistableCache.)
Public propertyCompressPages
Gets page compression info
Public propertyDesKey
Gets the Des encryption key from a .des file in user Documents folder. (Environment.SpecialFolder.MyDocuments)
Public propertyDirectoryPath
Gets the full path to the directory hosting databases
Public propertyEndDatabaseNumber
Gets or sets the last database number within the range of databases for this location
Public propertyHostName
Gets the host name of this database location
Public propertyIsBackupLocation
Tells if this is a location used for backing up databases.
Public propertyIsDefaultLocation
Is this the default DatabaseLocation where Database 0, 1, 2, 3, 4 may be stored?
Public propertyIsLocal
Gets info about this location being on the local host or not.
Public propertyPageEncryption
Gets the encryption kind attribute.
Public propertyPlacementDatabaseNumber
Hint about where to persist DatabaseLocation
(Overrides OptimizedPersistablePlacementDatabaseNumber.)
Public propertyReplicas
Public propertyRsaPrivateXmlKey
The rsaPrivateXmlKey data field is not persisted but can be set and read with this property
Public propertyRsaPublicXmlKey
The rsaPublicXmlKey data field is not persisted but can be set and read with this property
Public propertyRsaSignature
The rsaSignature data field is not persisted but can be set and read with this property
Public propertyStartDatabaseNumber
Gets and sets the start of the range of Database numbers for this location.
Top
See Also