This method sets the value of a Posting Acceptor property.
Syntax
ReplicationPostingAcceptor.Put(ParamName, ParamValue)
Parameters
ParamName
The name of the parameter to set.
| Parameter | Description |
| MaximumOpenTransactions | The maximum number of transactions that can be running at the same time. |
| OpenTransactionsTimeout | The timeout duration, in milliseconds. |
| AllowAnonymous | Whether anonymous users can post. |
| AutoStartReplications | Whether replications are automatically started when a new post arrives. |
| PathToPA | The absolute path to the posting acceptor directory. |
| RepostURL | The URL on the destination server to which the postings are sent. |
| TargetURL | The URL on the source server from which the postings are sent. |
ParamValue
The value to which the parameter is set.
Remarks
Example
The following example changes the timeout to 50000 (five seconds).
const CRS_ERROR_NO_MORE_ITEMS = 0&80003B17
dim ReplServer
set ReplServer = CreateObject("Crsapi.ReplicationServer")
ReplServer.Initialize("")
dim RepPA
set RepPA = ReplServer.OpenPostingAcceptor
RepPA.Put("OpenTransactionsTimeout", "50000")
'Release objects
set RepPA = Nothing
set ReplServer = Nothing
See Also