ProtocolProvider.UpdateSite Method (String, SiteAction)

IIS 7.0

Creates a new ProtocolProvider.SiteUpdatedEventHandler delegate with the SiteUpdatedEventArgs object, which contains the site name and site action.

Namespace:   Microsoft.Web.Management.Client.Extensions
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

public void UpdateSite(
	string siteName,
	SiteAction action


Type: System.String

The name of the site that was updated.

Type: Microsoft.Web.Management.Client.Extensions.SiteAction

One of the SiteAction values.

When a site is updated, the SiteUpdatedEventArgs object is created, containing the site name and site action. The SiteUpdated property contains the ProtocolProvider.SiteUpdatedEventHandler delegate, which handles the SiteUpdatedEventArgs object. This method creates the ProtocolProvider.SiteUpdatedEventHandler delegate and a new SiteUpdatedEventArgs object.

Return to top