Share via


Deployment.Locked Property

Gets or sets whether the deployment is locked for new write operations.

Namespace: Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceGetDetailedResponse
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Usage

'Usage
Dim instance As Deployment
Dim value As Boolean

value = instance.Locked

instance.Locked = value

Syntax

'Declaration
Public Property Locked As Boolean
public bool Locked { get; set; }
public:
property bool Locked {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_Locked ()

/** @property */
public void set_Locked (boolean value)
public function get Locked () : boolean

public function set Locked (value : boolean)

Property Value

true if the deployment is locked because an existing operation is updating the deployment; otherwise false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

Deployment Class
Deployment Members
Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceGetDetailedResponse Namespace