Share via


ProfileContext.DeleteProfile (String, String, String) Method (BCL)

Use this method to delete specified profile object.

[Visual Basic .NET]

Public Sub DeleteProfile( _ByValkeyName As System.String, _
  ByValkeyValue As System.String, _
  ByValprofileType As System.String _
) 

[C#]

public void DeleteProfile(System.StringkeyName,
  System.StringkeyValue,
  System.StringprofileType);

Parameters

[Visual Basic .NET]

  • keyName
    The name of the key property.
  • keyValue
    The value of the key property.
  • profileType
    The profile definition of interest.

[C#]

  • keyName
    The name of the key property.
  • keyValue
    The value of the key property.
  • profileType
    The profile definition of interest.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Profiles

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

See Also

Code to Build a Login Page

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.