Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
返回当前正在此连接上同步的数据库的远程 ID。
Public Function GetRemoteID() As String
public string GetRemoteID()
远程 ID。
有关远程 ID 的详细信息,请参见远程 ID。
以下示例显示如何输出 DBConnectionContext 的远程 ID:
// The method used to output the remote ID. public void OutputRemoteID() { // output the Remote ID for the current synchronization string remoteID = _cc.GetRemoteID(); System.Console.WriteLine(remoteID); }