Variable2KFormatter.CanRead 方法

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Determines whether the formatter can read the contents of the message.

命名空间:  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
程序集:  Microsoft.SqlServer.MSMQTask(在 Microsoft.SqlServer.MSMQTask.dll 中)

语法

声明
Public Function CanRead ( _
    msg As Message _
) As Boolean
用法
Dim instance As Variable2KFormatter 
Dim msg As Message 
Dim returnValue As Boolean 

returnValue = instance.CanRead(msg)
public bool CanRead(
    Message msg
)
public:
virtual bool CanRead(
    Message^ msg
) sealed
abstract CanRead : 
        msg:Message -> bool  
override CanRead : 
        msg:Message -> bool
public final function CanRead(
    msg : Message
) : boolean

参数

返回值

类型:System.Boolean
True if the formatter can read the contents of the message; otherwise, false.

实现

IMessageFormatter.CanRead(Message)

请参阅

参考

Variable2KFormatter 类

Microsoft.SqlServer.Dts.Tasks.MessageQueueTask 命名空间