SPSolution.Deploy method

Deploys the language neutral solution.

Overload list

  Name Description
Public method Deploy(DateTime, Boolean, Boolean) Creates a timer job to deploy the language-neutral solution at a specified time.
Public method Deploy(DateTime, Boolean, Collection<SPWebApplication>, Boolean) Creates a timer job to deploy the language-neutral solution to the specified web applications at a specified time.

Top

Remarks

If a solution contains assemblies you can set the DeploymentTarget attribute in the solution manifest to GlobalAssemblyCache to place assemblies in the global assembly cache, or WebApplication to deploy them to the bin directory. If the attribute is not specified, assemblies are deployed to the bin directory by default.

When deploying assemblies using the object model, no warnings are issued that assemblies are being installed into the global assembly cache. (When using stsadm, the -allowgacdeploymentflag flag is required, and when using the user interface a warning is issued that assemblies are going to be installed into the global assembly cache.)

To deploy a language package, see SPSolutionLanguagePack.

See also

Reference

SPSolution class

SPSolution members

Microsoft.SharePoint.Administration namespace

Other resources

Deploying a Solution