ContentDeploymentJob.AddQuickDeployObject Method
Adds this ContentDeploymentJob object to the list of Quick Deploy items in the given SPWeb object.
Namespace: Microsoft.SharePoint.Publishing.Administration
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Shared Sub AddQuickDeployObject ( _
web As SPWeb, _
itemType As SPDeploymentObjectType, _
itemUrl As String _
)
'Usage
Dim web As SPWeb
Dim itemType As SPDeploymentObjectType
Dim itemUrl As String
ContentDeploymentJob.AddQuickDeployObject(web, itemType, _
itemUrl)
public static void AddQuickDeployObject(
SPWeb web,
SPDeploymentObjectType itemType,
string itemUrl
)
Parameters
- web
Type: Microsoft.SharePoint.SPWeb
The SPWeb object in which the QuickDeployItems list resides.
- itemType
Type: Microsoft.SharePoint.Deployment.SPDeploymentObjectType
The SPDeploymentObject type.
- itemUrl
Type: System.String
The URL of the object to deploy.