Share via


SetSourceAttribute Method

Sets the specified attribute from the specified catalog/data-source/source-info|data-object/data-member 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 Sub SetSourceAttribute ( _
    ByRef sourcePath As String, _
    ByRef attributeName As String, _
    ByRef isCustomAttribute As Boolean, _
    ByRef value As Object _
)
'Usage
Dim instance As BusinessDataAdminFreeThreaded
Dim sourcePath As String
Dim attributeName As String
Dim isCustomAttribute As Boolean
Dim value As Object

instance.SetSourceAttribute(sourcePath, _
    attributeName, isCustomAttribute, _
    value)
public void SetSourceAttribute(
    ref string sourcePath,
    ref string attributeName,
    ref bool isCustomAttribute,
    ref Object value
)
public:
void SetSourceAttribute(
    String^% sourcePath, 
    String^% attributeName, 
    bool% isCustomAttribute, 
    Object^% value
)
public function SetSourceAttribute(
    sourcePath : String, 
    attributeName : String, 
    isCustomAttribute : boolean, 
    value : Object
)

Parameters

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

Exceptions

Exception Condition
ERR_NOCONNECTION

The profile data store connection is not open.

ERR_SOURCEPATH_INVALID

Invalid source-path.

Remarks

The caller can specify whether the attribute is a system-attribute or a custom-attribute.

Permissions

See Also

Reference

BusinessDataAdminFreeThreaded Class

BusinessDataAdminFreeThreaded Members

Microsoft.CommerceServer.Interop.Profiles Namespace