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 StringContentDeploymentJob.AddQuickDeployObject(web, itemType, _
itemUrl)
public static void AddQuickDeployObject(
SPWeb web,
SPDeploymentObjectType itemType,
string itemUrl
)
Parameters
web
Type: Microsoft.SharePoint.SPWebThe SPWeb object in which the QuickDeployItems list resides.
itemType
Type: Microsoft.SharePoint.Deployment.SPDeploymentObjectTypeThe SPDeploymentObject type.
itemUrl
Type: System.StringThe URL of the object to deploy.