Platform SDK: CDO for Windows 2000

Removing Sink and Source Binding Properties

The smtpreg.vbs and nntpreg.vbs scripts provide a flag and associated arguments that remove properties from sink bindings as follows:

cscript [smtpreg | nntpreg].vbs 
                    /delprop 
                    instance 
                    event
                    display name
                    property bag name
                    property name
instance
The number of the NNTP or SMTP virtual server instance; for example, 1.
event
The event for which you are registering the sink. For the SMTP event service, the value must be OnArrival. For the NNTP event service, the values are OnPost, OnPostFinal, and OnPostEarly. These values are case-insensitive. Quotes around the name are optional.
display name
The display name of the sink. When using the scripts, each binding should have a unique display name for each virtual server instance andevent. The display names are case-sensitive. Use quotes around the name if it contains spaces.
property bag name
The property bag name from which to remove the property. This value must be either Sink or Source.
property name
The name of the property to remove. For CDO event scripting host bindings, the property bag is Sink and the property name is ScriptName. For the Source property bag, the available properties are Priority and Rule.  See Using Protocol Rules in Bindings.