Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
返回此连接的版本字符串。
Public Function GetVersion() As String
public string GetVersion()
脚本版本名称。
属性存储在 ml_property 表中。有关详细信息,请参见ml_add_property 系统过程。
以下示例显示如何获取脚本版本并使用它作决定。
public void MyEvent() { // ... string version = _cc.GetVersion(); switch( version ) { case "My Version 1": // ... break; case "My Version 2": // ... break; } }