Share via


ProtocolProvider.UpdateSite(String, SiteAction) Method

Definition

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

public:
 void UpdateSite(System::String ^ siteName, Microsoft::Web::Management::Client::Extensions::SiteAction action);
public void UpdateSite (string siteName, Microsoft.Web.Management.Client.Extensions.SiteAction action);
member this.UpdateSite : string * Microsoft.Web.Management.Client.Extensions.SiteAction -> unit
Public Sub UpdateSite (siteName As String, action As SiteAction)

Parameters

siteName
String

The name of the site that was updated.

action
SiteAction

One of the SiteAction values.

Remarks

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.

Applies to