Click or drag to resize

IDatabaseRepositoryFactorySetRepositoryMode Method

Sets the database repository mode.

Namespace:  PDTec.IceNet.Sdk
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
void SetRepositoryMode(
	RepositoryMode mode
)

Parameters

mode
Type: PDTec.IceNet.Core.DatabaseRepositoryMode
The database repository mode.
Remarks

After changing the repository mode all current repository instances of this database are no longer valid and should be discarded. Any following repository actions should be performed on a new repository instance.

In order to receive a valid repository instance wait 5 seconds after calling this method before requesting a new repository instance. This allows the internal caches to refresh the repository status.

See Also