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

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

 

如何从 .NET 输出信息

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

注意

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

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