GetProfileAttribute Method

Retrieves the specified attribute from the specified catalog/profile/property in the profile data store.

Namespace:  Microsoft.CommerceServer.Interop.Profiles
Assembly:  Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin (in Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin.dll)

Syntax

'Declaration
Public Function GetProfileAttribute ( _
    ByRef profilePath As String, _
    ByRef attributeName As String, _
    ByRef isCustomAttribute As Boolean _
) As Object
'Usage
Dim instance As BusinessDataAdminFreeThreaded
Dim profilePath As String
Dim attributeName As String
Dim isCustomAttribute As Boolean
Dim returnValue As Object

returnValue = instance.GetProfileAttribute(profilePath, _
    attributeName, isCustomAttribute)
public Object GetProfileAttribute(
    ref string profilePath,
    ref string attributeName,
    ref bool isCustomAttribute
)
public:
Object^ GetProfileAttribute(
    String^% profilePath, 
    String^% attributeName, 
    bool% isCustomAttribute
)
public function GetProfileAttribute(
    profilePath : String, 
    attributeName : String, 
    isCustomAttribute : boolean
) : Object

Parameters

  • isCustomAttribute
    Type: System..::.Boolean%
    true if this is a custom attribute; otherwise false.

Return Value

Type: System..::.Object
The specified attribute from the profile.

Exceptions

Exception Condition
ERR_NOCONNECTION

The profile data store connection is not open.

Remarks

The caller can specify whether the attribute is a system-attribute or a custom-attribute. Catalogs don't have custom-attributes.

Permissions

See Also

Reference

BusinessDataAdminFreeThreaded Class

BusinessDataAdminFreeThreaded Members

Microsoft.CommerceServer.Interop.Profiles Namespace