C# Class Microsoft.Azure.Commands.SiteRecovery.SiteRecoveryCmdletBase

The base class for all Windows Azure Recovery Services commands
Inheritance: Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet
Afficher le fichier Open project: Azure/azure-powershell

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
ExecuteCmdlet ( ) : void

Overriding base implementation go execute cmdlet.

ExecuteSiteRecoveryCmdlet ( ) : void

Virtual method to be implemented by Site Recovery cmdlets.

HandleException ( Exception ex ) : void

Exception handler.

WaitForJobCompletion ( string jobId ) : Microsoft.Azure.Management.SiteRecovery.Models.JobResponse

Waits for the job to complete.

Méthodes protégées

Méthode Description
GetCurrentVaultLocation ( ) : string

Gets the current vault location.

StopProcessing ( ) : void

Handles interrupts.

ValidateUsageById ( string replicationProvider, string paramName ) : void

Validates if the usage by ID is allowed or not.

Method Details

ExecuteCmdlet() public méthode

Overriding base implementation go execute cmdlet.
public ExecuteCmdlet ( ) : void
Résultat void

ExecuteSiteRecoveryCmdlet() public méthode

Virtual method to be implemented by Site Recovery cmdlets.
public ExecuteSiteRecoveryCmdlet ( ) : void
Résultat void

GetCurrentVaultLocation() protected méthode

Gets the current vault location.
protected GetCurrentVaultLocation ( ) : string
Résultat string

HandleException() public méthode

Exception handler.
public HandleException ( Exception ex ) : void
ex System.Exception Exception to handle.
Résultat void

StopProcessing() protected méthode

Handles interrupts.
protected StopProcessing ( ) : void
Résultat void

ValidateUsageById() protected méthode

Validates if the usage by ID is allowed or not.
protected ValidateUsageById ( string replicationProvider, string paramName ) : void
replicationProvider string Replication provider.
paramName string Parameter name.
Résultat void

WaitForJobCompletion() public méthode

Waits for the job to complete.
public WaitForJobCompletion ( string jobId ) : Microsoft.Azure.Management.SiteRecovery.Models.JobResponse
jobId string Id of the job to wait for.
Résultat Microsoft.Azure.Management.SiteRecovery.Models.JobResponse