Update records from a server side file.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function updRecsFromFile( _ ByVal tblName As String, _ ByVal fileDef As NetricsRecFile _ ) As NetricsTableStats |
C# |
---|
public NetricsTableStats updRecsFromFile( string tblName, NetricsRecFile fileDef ) |
C++ |
---|
public: NetricsTableStats updRecsFromFile( String tblName, NetricsRecFile fileDef ) sealed |
J# |
---|
public NetricsTableStats updRecsFromFile( string tblName, NetricsRecFile fileDef ) |
JScript |
---|
public
function updRecsFromFile( tblName : String, fileDef : NetricsRecFile ) : NetricsTableStats |
Parameters
- tblName
- Defines table to be loaded.
- fileDef
- Defines the name and format of the file Containing the records.
Return Value
The statistics for the table after the add or replace operations were performed.
Exceptions
Exception Type | Condition |
---|---|
NetricsException | If the server indicates that an error has occured (Possible errors - same as recadd) |
Remarks
This will add the given records if they do not already exist, or replace them if they do exist.