SAD_ScBulkUpdateMultiProxy
The SAD_ScBulkUpdateMultiProxy function converts any proxy addresses on the server from one of the old site proxy addresses to one of the new site proxy addresses.
Quick Info
Header file: |
SADAPI.H |
Library: |
SADAPI.LIB |
RPC_SC SAD_ScBulkUpdateMultiProxy(
LPWSTR wszServer,
INT cwszSiteAddress,
LPWSTR rgwszOldSiteAddress[],
LPWSTR rgwszNewSiteAddress[],
RPC_BOOL fSaveSiteAddress
);
Parameters
-
wszServer
-
Input parameter. A Unicode string containing the name of the server where the proxy addresses are updated.
-
cwszSiteAddress
-
Input parameter. The number of address sites to convert (the number of elements in the rgwszOldSiteAddress and rgwszNewSiteAddress array parameters).
-
rgwszOldSiteAddress[]
-
Input parameter. An array of Unicode strings containing the names of the old address sites.
-
rgwszNewSiteAddress[]
-
Input parameter. An array of Unicode strings containing the names of the new address sites.
-
fSaveSiteAddress
-
Input parameter. Whether to save the new proxy addresses, making them permanent:
-
TRUE
-
Permanently save the new proxy addresses.
-
FALSE
-
Do not permanently save the new proxy addresses.
Return Values
See Return Values.
Remarks
If a proxy address contains rgwszOldSiteAddress[n], that site portion of the address is converted to rgwszNewSiteAddress[n], as expected. If either rgwszOldSiteAddress[] or rgwszNewSiteAddress[] does not have cwszSiteAddress entries, SAD_ScBulkUpdateMultiProxy returns SC_BPSiteAddressMismatch.
See Also
SAD_ScBulkProxyHalt