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

Use this method to delete specified profile object.

[Visual Basic .NET]

Public Sub DeleteProfile( _ByValkeyValue As System.Int32, _
  ByValprofileType As System.String _
) 

[C#]

public void DeleteProfile(System.Int32keyValue,
  System.StringprofileType);

Parameters

[Visual Basic .NET]

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

[C#]

  • keyValue
    The value of the primary 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.