This topic has not yet been rated - Rate this topic

ISettingsIdentity::SetAttribute method

Sets an identity attribute for a namespace identity.

Syntax


HRESULT SetAttribute(
  [in]  void *Reserved,
  [in]  const WCHAR *Name,
  [in]  const WCHAR *Value
);

Parameters

Reserved [in]

Reserved. Must be NULL.

Name [in]

The name of the attribute.

Value [in]

The value of the attribute.

Return value

This method returns an HRESULT value. S_OK indicates success. It returns WCM_E_ATTRIBUTENOTALLOWED if the attribute specified by Name is not recognized.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WcmConfig.h

IDL

WcmConfig.idl

DLL

SMIEngine.dll

See also

ISettingsIdentity

 

 

Send comments about this topic to Microsoft

Build date: 10/31/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.