SobekCM_Database.Delete_Item_Aggregation Method
Delete an item aggregation from the database
Namespace: SobekCM.Library.DatabaseAssembly: SobekCM_Library (in SobekCM_Library.dll) Version: 4.10.0.0 (4.10.0.0)
Syntax
C# |
---|
public static int Delete_Item_Aggregation(
string Code,
bool IsSysAdmin,
string Username,
Custom_Tracer Tracer,
out string ErrorMessage
) |
Parameters
- Code
- Type: System..::..String
Aggregation code for the aggregation to delete
- IsSysAdmin
- Type: System..::..Boolean
Flag indicates if this is a system admin, who can delete aggregationPermissions with items
- Username
- Type: System..::..String
Name of the user that deleted this aggregation, for the milestones
- Tracer
- Type: SobekCM.Tools..::..Custom_Tracer
Trace object keeps a list of each method executed and important milestones in rendering
- ErrorMessage
- Type: System..::..String%
[OUT] Error message, if there was an error
Return Value
Type:
Int32 Error code - 0 if there was no error
Remarks
See Also