ProfileContext.DeleteProfile (String, String) Method (BCL)
Use this method to delete a profile object instance using the specified string as the primary key value.
[Visual Basic .NET]
Public Sub DeleteProfile( _ByValkeyValue As System.String, _
ByValprofileType As System.String _
)
[C#]
public void DeleteProfile(System.StringkeyValue,
System.StringprofileType);
Parameters
[Visual Basic .NET]
- keyValue
The value of the primary key property. - profileType
The string profile definition of interest, for example, "UserObject", or "Organization".
[C#]
- keyValue
The value of the primary key property. - profileType
The string profile definition of interest, for example, "UserObject", or "Organization".
Requirements
Namespace: Microsoft.CommerceServer.Runtime.Profiles
Platforms: Windows 2000, Windows Server 2003
Assembly: Microsoft.CommerceServer.Runtime.dll
See Also
Code to Create and Set Profile Properties
Code to Retrieve and Display Profile Properties
Code to Use the SiteTerm Class
Copyright © 2005 Microsoft Corporation.
All rights reserved.