Share via


service_name Parameter

Applies to: SharePoint Foundation 2010

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 https://server/site1/site2, make the POST to https://server/site1/_vti_bin/_vti_adm/admin.dll and set the service_name parameter to /site1/site2.