Compartilhar via


IDefinitionAppId Interface

Represents a unique identifier for the code that defines the application in the current scope.

interface IDefinitionAppId : IUnknown {
        
    [propget] HRESULT get_Codebase (
        [out, retval] LPWSTR *ppszCodebase
    );
        
    [propput] HRESULT put_Codebase (
        [in] LPCWSTR pszCodebase
    );
        
    HRESULT EnumAppPath (
        [out] IEnumDefinitionIdentity **ppIEnumDefinitionIdentity
    );
        
    HRESULT SetAppPath (
        [in] ULONG              cIDefinitionIdentity,
        [in, size_is(cIDefinitionIdentity)]
            IDefinitionIdentity *rgIDefinitionIdentity[]
    );
        
    [propget] HRESULT get_SubscriptionId (
        [out, retval] LPWSTR *ppszSubscription
    );
        
    [propput] HRESULT put_SubscriptionId (
        [in] LPCWSTR pszSubscription
    );
        
};

Methods

Method

Description

IDefinitionAppId::get_Codebase

Gets a formatted string that represents the code in this IDefinitionAppId object.

IDefinitionAppId::put_Codebase

Sets the code of this IDefinitionAppId object to the specified formatted string value.

IDefinitionAppId::EnumAppPath

Gets an interface pointer to an IEnumDefinitionIdentity object that contains the assemblies in the current application path.

IDefinitionAppId::SetAppPath

Sets the application path for the assembly in the current scope to the value referenced by the specified IDefinitionIdentity object.

IDefinitionAppId::get_SubscriptionId

Gets a pointer to a string representation of the token identifier for a subscription to this IDefinitionAppId object.

IDefinitionAppId::put_SubscriptionId

Sets the token identifier for a subscription to this IDefinitionAppId object to the specified string value.

Requirements

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

Header: Isolation.h

.NET Framework Version: 2.0

See Also

Concepts

Fusion Interfaces