ADO.NET Provider for WordPress

Build 26.0.9655

ProvisionAgencySite

Provision a new agency site in WordPress.com with specified configuration options.

Stored Procedure-Specific Information

To provision an agency site, you must specify the AgencyId and SiteId parameters. The following example shows how to provision an agency site.

EXECUTE ProvisionAgencySite AgencyId='123', SiteId='456';

You can also specify optional configuration parameters:

EXECUTE ProvisionAgencySite AgencyId='123', SiteId='456', SiteName='My New Site', PhpVersion='8.1', PrimaryDataCenter='us-east-1', IsFullyManagedAgencySite='true';

The procedure returns a JobId that can be used to track the provisioning progress.

Input

Name Type Description
AgencyId Integer The unique identifier of the agency.
SiteId Integer The unique identifier of the agency site to be provisioned.
SiteName String The name to assign to the provisioned site.
PhpVersion String The PHP version to use for the site (e.g., '7.4', '8.0', '8.1').
PrimaryDataCenter String The primary data center location for hosting the site.
IsFullyManagedAgencySite Boolean Whether the site should be fully managed by the agency.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the site provisioning operation was initiated successfully.
JobId Integer The unique identifier of the provisioning job for tracking progress.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655