|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Deploys the language neutral solution or Web Part package.
|Deploy(DateTime, Boolean, Boolean)||Creates a timer job to deploy the language-neutral solution or Web Part package at a specified time.|
|Deploy(DateTime, Boolean, Collection<SPWebApplication>, Boolean)||Creates a timer job to deploy the language-neutral solution or Web Part package to the specified web applications at a specified time.|
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.