![]() |
Previous | Next |
The AddProfile method adds the specified Profile to the WebHost.
Syntax
Application.Project.Properties.PublishWebHost.AddProfile(profile)
Parameters
profile
Profile object to be added.
Return Values
This method does not return a value.
Remarks
The Profile to be added can be taken from or created by using the ProfileManager object.
A presentation is published using all profiles within the current Web host that are valid for that presentation. Any profiles that are not valid for the presentation will be skipped.
See Also
Previous | Next |