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
- profilePath
Type: System..::.String
The profile path.
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
- 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.
See Also
Reference
BusinessDataAdminFreeThreaded Class