GetExternalStorageTarget method

Returns an external storage target object.

These objects can be used to identify objects in external storage for linked folders. When creating linked folders, ExternalItemID, PathOfIDs, and ExternalFolderPath are required. ExternalFolderPath is filled in if omitted from the GetExternalStorageTarget() method. ItemName is generally used to specify a template name when specifying an external template.

Syntax


C++

HRESULT GetExternalStorageTarget (
   BSTR ExternalItemID,
   BSTR PathOfIDs,
   BSTR ExternalFolderPath,
   BSTR ItemName,
   IERUExternalStorageTarget pTarget
)

Scripting languages

ExternalStorageTarget = Object.GetExternalStorageTarget (
   
ExternalItemID as String,
   
PathOfIDs as String,
   
ExternalFolderPath as String,
   
ItemName as String)

Parameters


ExternalItemID

The id of the external item.

PathOfIDs

The path of external item ids.

ExternalFolderPath

The path to the external folder.

ItemName

The template name.

pTarget

Upon return, the new external storage target.

Return value


C++

The return code.

Scripting languages:

Upon return, the new external storage target.

 

Home

Applies to

IERUExternalStorageProvider