SobekCM_Database.Edit_Single_IP Method
Adds or edits a single IP address information in an IP restriction range
Namespace: SobekCM.Library.DatabaseAssembly: SobekCM_Library (in SobekCM_Library.dll) Version: 4.10.0.0 (4.10.0.0)
Syntax
C# |
---|
public static int Edit_Single_IP(
int PrimaryID,
int IpRangeID,
string StartIp,
string EndIp,
string Note,
Custom_Tracer Tracer
) |
Parameters
- PrimaryID
- Type: System..::..Int32
Primary key for this single IP address information to add, or -1 to add a new IP address
- IpRangeID
- Type: System..::..Int32
Primary key for the IP restriction range to add this single IP address information
- StartIp
- Type: System..::..String
Beginning of the IP range, or the complete IP address
- EndIp
- Type: System..::..String
End of the IP range, if this was a true range
- Note
- Type: System..::..String
Any note associated with this single IP information
- Tracer
- Type: SobekCM.Tools..::..Custom_Tracer
Trace object keeps a list of each method executed and important milestones in rendering
Return Value
Type:
Int32 Primary key for the single IP address information, if no primary key was originally provided
Remarks
See Also