IADsPath Property Methods

The property method of the IADsPath interface sets the property described in the following table. For more information, see Interface Property Methods.

Properties

Path

Path of a directory of the file system.

Access type: Read/write

Scripting data type: BSTR

// C++ method syntax
HRESULT get_Path(
  [out] BSTR* retval
);
HRESULT put_Path(
  [in] BSTR bstrPath
);

Type

File type of the file system.

Access type: Read/write

Scripting data type: LONG

// C++ method syntax
HRESULT get_Type(
  [out] LONG* retVal
);
HRESULT put_Type(
  [in] LONG lnType
);

VolumeName

Name of an existing volume of the file system.

Access type: Read/write

Scripting data type: BSTR

// C++ method syntax
HRESULT get_VolumeName(
  [out] BSTR* retval
);
HRESULT put_VolumeName(
  [in] BSTR bstrVolumeName
);

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Iads.h
DLL
Activeds.dll
IID
IID_IADsPath is defined as B287FCD5-4080-11D1-A3AC-00C04FB950DC

See also

IADsPath

ADS_PATH