共用方式為


Audience.Commit Method

Saves all changes to audience data in the database, such as updated name, description, and operator list.

Namespace:  Microsoft.Office.Server.Audience
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Sub Commit
'Usage
Dim instance As Audience

instance.Commit()
public void Commit()

Remarks

You must set the AudienceRules property before calling the Commit method. Setting AudienceRules indicates that the rule has changed since the last commit.

See Also

Reference

Audience Class

Audience Members

Microsoft.Office.Server.Audience Namespace