Export (0) Print
Expand All

FH_TARGET_PROPERTY_TYPE enumeration

Specifies the type of a property of a backup target.

Syntax


typedef enum _FH_TARGET_PROPERTY_TYPE { 
  FH_TARGET_NAME        = 0,
  FH_TARGET_URL         = 1,
  FH_TARGET_DRIVE_TYPE  = 2,
  MAX_TARGET_PROPERTY   = 3
} FH_TARGET_PROPERTY_TYPE;

Constants

FH_TARGET_NAME

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

IDL

Fhcfg.idl

See also

FH_TARGET_DRIVE_TYPES
IFhConfigMgr::ProvisionAndSetNewTarget
IFhTarget::GetNumericalProperty
IFhTarget::GetStringProperty

 

 

Community Additions

ADD
Show:
© 2015 Microsoft