For operands of the conditional operator, the data type DT_STR is supported only for input columns and cast operations. The expression "%1!s!" has a DT_STR operand that is not an input column or the result of a cast, and cannot be used with the conditional operation. To perform this operation, the operand needs to be explicitly cast with a cast operator.
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
语法
声明
Public Const DTS_E_EXPREVALCONDITIONALOPDTSTRNOTSUPPORTED As Integer
public const int DTS_E_EXPREVALCONDITIONALOPDTSTRNOTSUPPORTED
public:
literal int DTS_E_EXPREVALCONDITIONALOPDTSTRNOTSUPPORTED
public static final int DTS_E_EXPREVALCONDITIONALOPDTSTRNOTSUPPORTED
public const var DTS_E_EXPREVALCONDITIONALOPDTSTRNOTSUPPORTED : int
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
HResults Class
HResults Members
Microsoft.SqlServer.Dts.Runtime Namespace