ApplocalHelper.IsApplocal(DTSTargetServerVersion) 方法

定义

确定当前上下文是否为应用本地化

public static bool IsApplocal (Microsoft.SqlServer.Dts.Runtime.DTSTargetServerVersion targetServerVersion = Microsoft.SqlServer.Dts.Runtime.DTSTargetServerVersion.Latest);
static member IsApplocal : Microsoft.SqlServer.Dts.Runtime.DTSTargetServerVersion -> bool
Public Shared Function IsApplocal (Optional targetServerVersion As DTSTargetServerVersion = Microsoft.SqlServer.Dts.Runtime.DTSTargetServerVersion.Latest) As Boolean

参数

targetServerVersion
DTSTargetServerVersion

目标服务器版本

返回

如果它是 dev14 进程且 targetServerVersion 大于 SQLServer2016,则为 ture;否则为 false

适用于