DeleteProfile Method (String, String, String)
Delete the Profile object with the specified primary key name, key value (as a string) 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 String, _
profileType As String _
)
'Usage
Dim instance As ProfileContext
Dim keyName As String
Dim keyValue As String
Dim profileType As String
instance.DeleteProfile(keyName, keyValue, _
profileType)
public void DeleteProfile(
string keyName,
string keyValue,
string profileType
)
public:
void DeleteProfile(
String^ keyName,
String^ keyValue,
String^ profileType
)
public function DeleteProfile(
keyName : String,
keyValue : String,
profileType : String
)
Parameters
- keyName
Type: System..::.String
Profile key member of interest
- keyValue
Type: System..::.String
Value of the key member property
- profileType
Type: System..::.String
Profile definition type of interest
Remarks
Use this method to delete the Profile object with the specified primary key name, key value (as a string) and profile definition.
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.