SetProfileAttribute Method
Sets the specified attribute on the specified catalog/profile/group/ 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 Sub SetProfileAttribute ( _
ByRef profilePath As String, _
ByRef attributeName As String, _
ByRef isCustomAttribute As Boolean, _
ByRef value As Object _
)
'Usage
Dim instance As BusinessDataAdminFreeThreaded
Dim profilePath As String
Dim attributeName As String
Dim isCustomAttribute As Boolean
Dim value As Object
instance.SetProfileAttribute(profilePath, _
attributeName, isCustomAttribute, _
value)
public void SetProfileAttribute(
ref string profilePath,
ref string attributeName,
ref bool isCustomAttribute,
ref Object value
)
public:
void SetProfileAttribute(
String^% profilePath,
String^% attributeName,
bool% isCustomAttribute,
Object^% value
)
public function SetProfileAttribute(
profilePath : String,
attributeName : String,
isCustomAttribute : boolean,
value : Object
)
Parameters
- profilePath
Type: System..::.String%
The path of the catalog to retrieve.
- attributeName
Type: System..::.String%
The name of the attribute to retrieve.
- isCustomAttribute
Type: System..::.Boolean%
true if this is a custom attribute; otherwise false.
- value
Type: System..::.Object%
The attribute value.
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.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
BusinessDataAdminFreeThreaded Class