Condividi tramite


SPSolution.Deploy Method

Include Protected Members
Include Inherited Members

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

Installation and Deployment of a Farm Solution in SharePoint 2010