DeleteProfile Method (String, Int32, String)

Delete the Profile object with the specified primary key name, key value (as an integer) and profile definition.

Namespace:  Microsoft.CommerceServer.Runtime.Profiles
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Sub DeleteProfile ( _
    keyName As String, _
    keyValue As Integer, _
    profileType As String _
)
'Usage
Dim instance As ProfileContext
Dim keyName As String
Dim keyValue As Integer
Dim profileType As String

instance.DeleteProfile(keyName, keyValue, _
    profileType)
public void DeleteProfile(
    string keyName,
    int keyValue,
    string profileType
)
public:
void DeleteProfile(
    String^ keyName, 
    int keyValue, 
    String^ profileType
)
public function DeleteProfile(
    keyName : String, 
    keyValue : int, 
    profileType : String
)

Parameters

Remarks

Use this method to delete the Profile object with the specified primary key name, key value (as an integer) and profile definition.

Permissions

See Also

Reference

ProfileContext Class

ProfileContext Members

DeleteProfile Overload

Microsoft.CommerceServer.Runtime.Profiles Namespace