Поделиться через


IDefinitionIdentity Interface

Represents the unique signature of the code that defines the application in the current scope.

interface IDefinitionIdentity : IUnknown {
        
    HRESULT Clone (
        [in] SIZE_T                       cDeltas,
        [in, size_is(cDeltas)] 
            const IDENTITY_ATTRIBUTE      prgDeltas[],
        [out, retval] IDefinitionIdentity **ppIDefinitionIdentity
    );
        
    HRESULT EnumAttributes (
        [out, retval] IEnumIDENTITY_ATTRIBUTE **ppIEAIA
    );
        
    HRESULT GetAttribute (
        [in, unique]  LPCWSTR pszNamespace,
        [in]          LPCWSTR pszName,
        [out, retval] LPWSTR  *ppszValue
    );
        
    HRESULT SetAttribute (
        [in, unique] LPCWSTR pszNamespace,
        [in]         LPCWSTR pszName,
        [in, unique] LPCWSTR pszValue
    );
        
};

Methods

Method Description

IDefinitionIdentity::Clone

Gets an interface pointer to a new IDefinitionIdentity object that is identical to this IDefinitionIdentity, except for the specified attribute changes.

IDefinitionIdentity::EnumAttributes

Gets an interface pointer to an IEnumIDENTITY_ATTRIBUTE Interface object that contains the attributes associated with this IDefinitionIdentity.

IDefinitionIdentity::GetAttribute

Gets the value of the attribute with the specified name in the specified namespace.

IDefinitionIdentity::SetAttribute

Sets the attribute that has the specified name in the specified namespace to the specified value.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: Isolation.h

.NET Framework Version: 2.0

See Also

Other Resources

Fusion Interfaces