Show / Hide Table of Contents

Struct BackupCreateMode

Create mode to indicate recovery of existing soft deleted data source or creation of new data source.

Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.RecoveryServicesBackup.dll
Syntax
public struct BackupCreateMode : IEquatable<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupCreateMode>

Constructors

BackupCreateMode(String)

Initializes a new instance of BackupCreateMode.

Declaration
public BackupCreateMode (string value);
Parameters
System.String value

Exceptions
System.ArgumentNullException

value is null.

Properties

Default

Default.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.BackupCreateMode Default { get; }
Property Value
BackupCreateMode

Invalid

Invalid.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.BackupCreateMode Invalid { get; }
Property Value
BackupCreateMode

Recover

Recover.

Declaration
public static Azure.ResourceManager.RecoveryServicesBackup.Models.BackupCreateMode Recover { get; }
Property Value
BackupCreateMode

Methods

Equals(BackupCreateMode)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals (Azure.ResourceManager.RecoveryServicesBackup.Models.BackupCreateMode other);
Parameters
BackupCreateMode other

An object to compare with this object.

Returns
System.Boolean

true if the current object is equal to the other parameter; otherwise, false.

Equals(Object)

Indicates whether this instance and a specified object are equal.

Declaration
[System.ComponentModel.EditorBrowsable]
public override bool Equals (object obj);
Parameters
System.Object obj

The object to compare with the current instance.

Returns
System.Boolean

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

Declaration
[System.ComponentModel.EditorBrowsable]
public override int GetHashCode ();
Returns
System.Int32

A 32-bit signed integer that is the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

Declaration
public override string ToString ();
Returns
System.String

The fully qualified type name.

Operators

Equality(BackupCreateMode, BackupCreateMode)

Determines if two BackupCreateMode values are the same.

Declaration
public static bool operator == (Azure.ResourceManager.RecoveryServicesBackup.Models.BackupCreateMode left, Azure.ResourceManager.RecoveryServicesBackup.Models.BackupCreateMode right);
Parameters
BackupCreateMode left

BackupCreateMode right

Returns
System.Boolean

Implicit(String to BackupCreateMode)

Converts a System.String to a BackupCreateMode.

Declaration
public static implicit operator Azure.ResourceManager.RecoveryServicesBackup.Models.BackupCreateMode (string value);
Parameters
System.String value

Returns
BackupCreateMode

Inequality(BackupCreateMode, BackupCreateMode)

Determines if two BackupCreateMode values are not the same.

Declaration
public static bool operator != (Azure.ResourceManager.RecoveryServicesBackup.Models.BackupCreateMode left, Azure.ResourceManager.RecoveryServicesBackup.Models.BackupCreateMode right);
Parameters
BackupCreateMode left

BackupCreateMode right

Returns
System.Boolean

Back to top Azure SDK for .NET