Freigeben über


ISharePointProjectItemDeploymentContext Schnittstelle

Definition

Stellt den Bereitstellungskontext eines bestimmten Projektelements dar.

public interface class ISharePointProjectItemDeploymentContext : Microsoft::VisualStudio::SharePoint::Deployment::IDeploymentContext
public interface ISharePointProjectItemDeploymentContext : Microsoft.VisualStudio.SharePoint.Deployment.IDeploymentContext
type ISharePointProjectItemDeploymentContext = interface
    interface IDeploymentContext
    interface IAnnotatedObject
Public Interface ISharePointProjectItemDeploymentContext
Implements IDeploymentContext
Implementiert

Hinweise

Verwenden Sie ISharePointProjectItemDeploymentContext Objekte, um den Speicherort des bereitgestellten Projektelements und seiner Dateien auf dem Server zu bestimmen. Visual Studio übergibt ISharePointProjectItemDeploymentContext Objekte an die Ereignishandler für die DeploymentStepStartedEreignisse , DeploymentStepCompletedund ProjectItemStartupUrlRequested .

Eigenschaften

Annotations

Ruft eine IAnnotationDictionary-Instanz ab, um dem Objekt, das die IAnnotatedObject-Schnittstelle implementiert, benutzerdefinierte Daten zuzuordnen.

(Geerbt von IAnnotatedObject)
Feature

Ruft das primäre Feature ab, das dem Projektelement zugeordnet ist.

FeatureScope

Ruft einen Wert ab, der den Bereich darstellt, in dem das Feature des Projektelements bereitgestellt wird.

IsCanceled

Ruft ab, ob die Bereitstellung vom Benutzer abgebrochen wurde.

(Geerbt von IDeploymentContext)
IsDeploying

Ruft ab, ob das Projekt bereitgestellt wird.

(Geerbt von IDeploymentContext)
IsRetracting

Ruft ab, ob das Projekt zurückgezogen wird.

(Geerbt von IDeploymentContext)
Logger

Ruft den Zugriff auf die Projektprotokollierung ab.

(Geerbt von IDeploymentContext)
Project

Ruft den Zugriff auf das aktuelle Projekt ab, das bereitgestellt oder zurückgezogen wird.

(Geerbt von IDeploymentContext)
ProjectItem

Ruft das Projektelement ab, das bereitgestellt wird.

StartMode

Ruft den Zugriff auf den automatischen Startmodus ab. Der Grund, warum die Bereitstellung initiiert wurde.

(Geerbt von IDeploymentContext)

Methoden

SiteCollectionUrl()

Gibt die kanonische URL des Microsoft.SharePoint.SPSite-Elements zurück, mit dem das Projekt gemäß SharePoint verbunden ist.

(Geerbt von IDeploymentContext)
SiteUrl()

Gibt die kanonische URL des Microsoft.SharePoint.SPWeb-Elements zurück, mit dem das Projekt gemäß SharePoint verbunden ist.

(Geerbt von IDeploymentContext)
WebApplicationUrl()

Gibt die Stamm-URL des SPWebApplication-Elements zurück.

(Geerbt von IDeploymentContext)

Gilt für: