BCRepository Constructor (String, String, DateTime) |
Initializes a new instance of the
BCRepository class.
Connects to the server and opens a vault for reading or writing in the context of the main area.
Connection is closed when the instance is disposed.
Namespace: BlueCieloECM.InnoCielo.Meridian.ServerAssembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 4.0.0.0 (4.0.19.0)
Syntaxpublic BCRepository(
string vaultOrDataStoreName,
string machineName,
DateTime moment
)
Public Sub New (
vaultOrDataStoreName As String,
machineName As String,
moment As DateTime
)
public:
BCRepository(
String^ vaultOrDataStoreName,
String^ machineName,
DateTime moment
)
new :
vaultOrDataStoreName : string *
machineName : string *
moment : DateTime -> BCRepository
Parameters
- vaultOrDataStoreName
- Type: SystemString
The name of the vault or data store.
If or an empty string, then the default vault will be opened.
- machineName
- Type: SystemString
The name of the server machine.
If or an empty string, then a local machine is used.
- moment
- Type: SystemDateTime
The date at which to open the vault in History mode.
Remarks
Method starts a database transaction. To save changes to the vault use
Commit. To revoke changes use
Rollback method.
See Also