Dynamicweb 8 Documentation
DeleteAll Method (Group)

Groups collection to delete
Execute delete statement or not
Prepare SQL statement to delete groups from provided collection and optionally execute this statement. Deletes appropriate relations between shops, other groups and products as well.
Syntax
'Declaration
 
Public Shared Function DeleteAll( _ 
   ByVal groups As GroupCollection, _ 
   ByVal run As Boolean _ 
) As String
public static string DeleteAll( 
   GroupCollection groups,
   bool run 
)

Parameters

groups
Groups collection to delete
run
Execute delete statement or not

Return Value

SQL statement to delete provided groups
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Group Class
Group Members

Send Feedback