Owners Manual

방법 설명
값이 있는지 확인합니다
(Object.Equals(Object) 재정의).
public override int GetHashCode()
VolumeNameCollection 대한 해시 코드를
환합니다(Object.GetHashCode() 재정의).
11. VolumeSnapshotInfo (namesapce Replay.Common.Contracts.Transfer)
방법 설명
public Uri BlockHashesUri { get; set;}
볼륨 블록의 MD5 해시를 읽을 있는 URI 가져오
거나
설정합니다.
public Uri BlockDataUri { get; set;}
볼륨 데이터 블록을 읽을 있는 URI 가져오거나
설정합니다.
VolumeSnapshotInfoDictionary (namespace Replay.Common.Contracts.Transfer)
매개변수 System.Collections.Generic.Dictionary<VolumeName, VolumeSnapshotInfo>에서
해당 값을 상속합니다.
Pretransferscript.ps1
PreTransferScript 스냅샷을 전송하기 전에 에이전트 쪽에서 실행됩니다.
# receiving parameter from transfer job
param([object]$TransferPrescriptParameter)
# building path to Agent's Common.Contracts.dll and loading this assembly
$regLM = [Microsoft.Win32.Registry]::LocalMachine
$regLM = $regLM.OpenSubKey('SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
\AppRecovery Agent 5')
$regVal = $regLM.GetValue('InstallLocation')
$regVal = $regVal + 'Common.Contracts.dll'
[System.Reflection.Assembly]::LoadFrom($regVal) | out-null
# Converting input parameter into specific object
$TransferPrescriptParameterObject = $TransferPrescriptParameter -as
[Replay.Common.Contracts.PowerShellExecution.TransferPrescriptParameter];
# Working with input object. All echo's are logged
if($TransferPrescriptParameterObject -eq $null) {
echo 'TransferPrescriptParameterObject parameter is null'
}
else {
echo
'TransferConfiguration:'$TransferPrescriptParameterObject.TransferConfiguration
echo 'StorageConfiguration:'
$TransferPrescriptParameterObject.StorageConfiguration
}
Posttransferscript.ps1
PostTransferScript 스냅샷을 전송한 에이전트 쪽에서 실행됩니다.
# receiving parameter from transfer job
param([object] $TransferPostscriptParameter)
# building path to Agent's Common.Contracts.dll and loading this assembly
164