Contents Index Topic Contents | ||
Previous Topic: WpDeleteSite Next Topic: WpEnumProviders |
WpDoesSiteExist
DWORD WpDoesSiteExist( [in, string] LPTSTR szSiteName [out] BOOL * pbSiteExists );Checks to see whether a site with the specified name exists.
- Returns NO_ERROR if successful. Otherwise, returns an error code, which may be one of the following:
E_INVALIDARG WEBPOST_ERROR_INIT_FAILED More information about these error codes can be found in Appendix B, Error Codes.
- szSiteName
- Posting site name.
- pbSiteExists
- Returned as TRUE if site exists, FALSE otherwise.
Examples
C/C=++{ HRESULT hResult = NOERROR; BOOL b; hResult = WpDoesSiteExist("site1",&b); }
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.