Dynamicweb 8 Documentation
DeleteBySystemName Method
Example 

System name.
Deletes the specified instance.
Syntax
'Declaration
 
Public Shared Function DeleteBySystemName( _ 
   ByVal sysName As String _ 
) As Boolean
public static bool DeleteBySystemName( 
   string sysName 
)

Parameters

sysName
System name.
Example
class OrderLineField_EditPage : System.Web.UI.Page
{
    private void DeleteOrderLineField()
    {
        if( !SystemNameText.Enabled && SystemNameText.Text != "" )
        {
            OrderLineField.Delete(SystemNameText.Text);
            OrderLineFieldGroupRelation.DeleteBySystemName(SystemNameText.Text);
            Dynamicweb.eCommerce.Common.Application.KillOrderLineFields();
        }
    }
}
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

OrderLineFieldGroupRelation Class
OrderLineFieldGroupRelation Members

Send Feedback