CdbDatabase::SetDesignMasterID, GetDesignMasterID Property

Sets or returns a 16-byte GUID string whose value uniquely identifies the Design Master in a replica set (Microsoft Jet workspaces only).

Remarks

You should set the DesignMasterID property only if you need to move the current Design Master. Setting this property makes a specific replica in the replica set the Design Master.

Never create a second Design Master in a replica set. The existence of a second Design Master can result in the loss of data.

Syntax

VOIDSetDesignMasterID(LPCTSTR pstrMasterID);

CStringGetDesignMasterID(VOID);

Set Parameters

Type Example Description
LPCTSTR pstrMasterID A pointer to a string that contains the 16-byte GUID of a Design Master.