Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 (中文) » MobiLink - 服务器管理 » MobiLink 服务器 API » 使用 .NET 编写同步脚本 » 编写 .NET 同步逻辑

 

从 .NET 打印信息

也可以选择使用 System.Console. Doing 向 .NET 方法中添加语句,将信息输出到 MobiLink 日志中。这样做可以帮助跟踪类的进程和行为。

性能提示

通过此种方法将信息输出到 MobiLink 日志是一种非常有用的监控手段,但是不建议在生产方案中使用。

同样的技术也可以用于记录任意同步信息或收集脚本使用情况的统计信息。