 | RouterLoadRoutingRules Method |
Load Routing Rules from a Text File
Namespace:
SMTPRouter
Assembly:
SMTPRouter (in SMTPRouter.dll) Version: 1.0.0.4
Syntaxpublic bool LoadRoutingRules(
string filename,
bool appendToCurrentRules = false
)
Public Function LoadRoutingRules (
filename As String,
Optional appendToCurrentRules As Boolean = false
) As Boolean
Dim instance As Router
Dim filename As String
Dim appendToCurrentRules As Boolean
Dim returnValue As Boolean
returnValue = instance.LoadRoutingRules(filename,
appendToCurrentRules)
public:
bool LoadRoutingRules(
String^ filename,
bool appendToCurrentRules = false
)
Parameters
- filename
- Type: SystemString
The file name - appendToCurrentRules (Optional)
- Type: SystemBoolean
A flag to define whether to append to the existing RoutingRules or to replace the existing rules
Return Value
Type:
BooleanA
Boolean to inform if the rules were loaded
See Also