Share via


RunbookParameter.IsMandatory Property

Optional. Gets or sets a Boolean value to indicate whether the parameter is madatory or not.

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

Usage

'Usage
Dim instance As RunbookParameter
Dim value As Boolean

value = instance.IsMandatory

instance.IsMandatory = value

Syntax

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

/** @property */
public void set_IsMandatory (boolean value)
public function get IsMandatory () : boolean

public function set IsMandatory (value : boolean)

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

RunbookParameter Class
RunbookParameter Members
Microsoft.WindowsAzure.Management.Automation.Models Namespace