This method sets the value of a Posting Acceptor property.
Syntax
ReplicationPostingAcceptor.Put(PropName, PropValue)
Parameters
PropName
The name of the property to set:
Property | Description |
MaximumOpenTransactions | The maximum number of transactions that can be running at the same time. |
OpenTransactionsTimeout | The time-out 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. |
PropValue
The value to which the property is set.
Remarks
See Global Properties for a list of Posting Acceptor properties.
Example
The following example changes the time-out 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