@DeleteDBARConnection
Syntax
@DeleteDBARConnection(DBHANDLE1;DESTINATIONSERVER);
@DeleteDBARConnection(DBHANDLE1;DESTINATIONSERVER;SOURCESERVER);
Description
Deletes a specific Advanced Replication Settings connection between the target server TEXT DESTINATIONSERVER and the source server TEXT SOURCESERVER.
The entry for Anyserver (wildcard "-") as source server cannot are deleted. Exception: all connection definitions for a target server can be deleted; for this, parameter TEXT SOURCESERVER is omitted.
The return value of @function ist TRUE on success or @Error on failure.
Example: @DeleteDBARConnection(DBHANDLE1;DESTINATIONSERVER);
DBHANDLE1:=@OpenDB("TEST.NSF");
DESTINATIONSERVER:="CN=WU-ENT-BER-0A/O=WHATSUP/C=DE";
RET:=@DeleteDBARConnection(DBHANDLE1;DESTINATIONSERVER);DBHANDLE1:=@CloseDB(DBHANDLE1);
The DB "TEST.NSF" is opened and all Advanced Replication Settings for the target server "CN=WU-ENT-BER-0A/O=WHATSUP/C=DE" are deleted. Then the DB is closed again.
Example: @DeleteDBARConnection(DBHANDLE1;DESTINATIONSERVER;SOURCESERVER);
DBHANDLE1:=@OpenDB("TEST.NSF");
DESTINATIONSERVER:="CN=WU-ENT-BER-0A/O=WHATSUP/C=DE";
SOURCESERVER:="CN=WU-ENT-BER-0X/O=WHATSUP/C=DE";
DBHANDLE1:=@CloseDB(DBHANDLE1);
The DB "TEST.NSF" is opened and the Advanced Replication connection for the target server "CN=WU-ENT-BER-0A/O=WHATSUP/C=DE" with source server "CN=WU-ENT-BER-0X/O=WHATSUP/C=DE" is deleted (the other definitions for the target server "CN=WU-ENT-BER-0A/O=WHATSUP/C=DE" remain unchanged).Then the DB is closed again.
Note : This text was machine-translated and may contain inaccuracies.
