Share via


DeploymentObject Class

Definition

Provides properties and methods for a deployment object.

public ref class DeploymentObject sealed : IDisposable
public sealed class DeploymentObject : IDisposable
type DeploymentObject = class
    interface IDisposable
Public NotInheritable Class DeploymentObject
Implements IDisposable
Inheritance
DeploymentObject
Implements

Properties

AbsolutePath

Gets the absolute path of the underlying deployment object.

Attributes

Gets a Microsoft.Web.Deployment.DeploymentAttributeCollection instance that contains the attributes of the deployment object.

BaseContext

Gets the DeploymentBaseContext associated with the current object.

IsValid
KeyAttribute

Gets the Microsoft.Web.Deployment.DeploymentAttribute used as the key in the current deployment object.

Kind
LinkName

Gets the link name of the current DeploymentObject instance.

Name

Gets the name of the current DeploymentObject instance.

Parent

Gets the parent DeploymentObject of the current DeploymentObject instance.

ProviderContext

Gets the DeploymentProviderContext associated with the current object.

StreamRelativeFilePath

Gets a string that contains the stream relative file path associated with the current object.

Summary
SyncParameters

Methods

Dispose()

Releases resources used by the current DeploymentObject instance.

GetChildren()
GetStream()
Invoke(String, Object[])

Executes a named DeploymentMethod from the DeploymentManager.

SyncTo(DeploymentBaseOptions, DeploymentSyncOptions)

Synchronizes the current DeploymentObject instance by using the base options and synchronization options specified.

SyncTo(DeploymentProviderOptions, DeploymentBaseOptions, DeploymentSyncOptions)

Synchronizes the current DeploymentObject instance by using the provider options, base options and synchronization options specified.

SyncTo(DeploymentWellKnownProvider, String, DeploymentBaseOptions, DeploymentSyncOptions)

Synchronizes the current DeploymentObject instance by using the well-known provider name, path, base options and synchronization options specified.

SyncTo(String, String, DeploymentBaseOptions, DeploymentSyncOptions)

Synchronizes the current DeploymentObject instance by using the factory name, path, base options and synchronization options specified.

Applies to