DeleteProfile Method

Deletes the specified profile.

Namespace:  Microsoft.CommerceServer.Interop.Profiles
Assembly:  Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin (in Microsoft.CommerceServer.Interop.Profiles.BizDataAdmin.dll)

Syntax

'Declaration
Public Sub DeleteProfile ( _
    profilePath As String _
)
'Usage
Dim instance As BusinessDataAdminFreeThreaded
Dim profilePath As String

instance.DeleteProfile(profilePath)
public void DeleteProfile(
    string profilePath
)
public:
void DeleteProfile(
    String^ profilePath
)
public function DeleteProfile(
    profilePath : String
)

Parameters

Exceptions

Exception Condition
ERR_NOCONNECTION

The profile data store connection is not open.

ERR_PROFILEPATH_INVALID

Invalid profile-path.

Remarks

Deletes the user profile and all parent classes of the profile.

Permissions

See Also

Reference

BusinessDataAdminFreeThreaded Class

BusinessDataAdminFreeThreaded Members

Microsoft.CommerceServer.Interop.Profiles Namespace