service_name Parameter

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Data Type: String

This parameter specifies the URL of the Web site that a method should act upon, but it has been largely deprecated in Microsoft Windows SharePoint Services. While RPC methods may still require the presence of this parameter, they might not act upon its value.

When used with the create service Method, remove service Method, and rename service Method methods, the service_name parameter must specify the server-relative URL of the site to act upon. For example, to create the Web site http://server/site1/site2, make the POST to http://server/site1/_vti_bin/_vti_adm/admin.dll and set the service_name parameter to /site1/site2.