FH_TARGET_PROPERTY_TYPE enumeration (fhcfg.h)

Specifies the type of a property of a backup target.

Syntax

typedef enum _FH_TARGET_PROPERTY_TYPE {
  FH_TARGET_NAME = 0,
  FH_TARGET_URL,
  FH_TARGET_DRIVE_TYPE,
  MAX_TARGET_PROPERTY
} FH_TARGET_PROPERTY_TYPE, *PFH_TARGET_PROPERTY_TYPE;

Constants

 
FH_TARGET_NAME
Value: 0
The property is a string that contains the backup target’s friendly name. The friendly name is set during target provisioning by calling the IFhConfigMgr::ProvisionAndSetNewTarget method.
FH_TARGET_URL
The property is a string that contains a path to the backup target.
FH_TARGET_DRIVE_TYPE
The property is a numeric property that specifies the target type of the backup target. See the FH_TARGET_DRIVE_TYPES enumeration for the list of possible backup target types.
MAX_TARGET_PROPERTY
The maximum enumeration value for this enumeration. This value and all values greater than it are reserved for system use.

Remarks

To query a backup target property, call the IFhTarget::GetStringProperty method or the IFhTarget::GetNumericalProperty method.

For local disks, the FH_TARGET_URL property contains the drive letter. This path must end with a trailing backslash (for example, "X:").

For network shares, the FH_TARGET_URL property contains the full path of the share. This path must end with a trailing backslash (for example, "\myserver\myshare").

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header fhcfg.h

See also

FH_TARGET_DRIVE_TYPES

IFhConfigMgr::ProvisionAndSetNewTarget

IFhTarget::GetNumericalProperty

IFhTarget::GetStringProperty