Export (0) Print
Expand All

IFsrmClassificationManager::GetPropertyDefinition method

[This method is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMClassification class.]

Retrieves the specified property definition.

Syntax


HRESULT GetPropertyDefinition(
  [in]   BSTR propertyName,
  [out]  IFsrmPropertyDefinition **propertyDefinition
);

Parameters

propertyName [in]

The name of the property definition to retrieve.

propertyDefinition [out]

An IFsrmPropertyDefinition interface to the retrieved property definition.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success

E_INVALIDARG

The specified name is too long.

FSRM_E_NOT_FOUND

The specified property definition was not found.

FSRM_E_INVALID_NAME

The specified name is empty or NULL.

 

Examples

For examples in C# and PowerShell see Accessing Classification Properties.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2008 R2

Header

FsrmPipeline.h (include FsrmPipeline.h or FsrmTlb.h)

DLL

SrmSvc.dll

CLSID

CLSID_FsrmClassificationManager is defined as b15c0e47-c391-45b9-95c8-eb596c853f3a

IID

IID_IFsrmClassificationManager is defined as d2dc89da-ee91-48a0-85d8-cc72a56f7d04

IID_IFsrmClassificationManager2 is defined as 0004c1c9-127e-4765-ba07-6a3147bca112

See also

IFsrmClassificationManager2
IFsrmClassificationManager
IFsrmClassificationManager::CreatePropertyDefinition
IFsrmClassificationManager::EnumPropertyDefinitions
FsrmClassificationManager
MSFT_FSRMClassification

 

 

Show:
© 2014 Microsoft