Share via


Definition.Policy Property

Gets or sets the endpoint monitoring policy.

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

Usage

'Usage
Dim instance As Definition
Dim value As DefinitionPolicyResponse

value = instance.Policy

instance.Policy = value

Syntax

'Declaration
Public Property Policy As DefinitionPolicyResponse
public DefinitionPolicyResponse Policy { get; set; }
public:
property DefinitionPolicyResponse^ Policy {
    DefinitionPolicyResponse^ get ();
    void set (DefinitionPolicyResponse^ value);
}
/** @property */
public DefinitionPolicyResponse get_Policy ()

/** @property */
public void set_Policy (DefinitionPolicyResponse value)
public function get Policy () : DefinitionPolicyResponse

public function set Policy (value : DefinitionPolicyResponse)

Property Value

An DefinitionPolicyResponse object.

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

Definition Class
Definition Members
Microsoft.WindowsAzure.Management.TrafficManager.Models Namespace