StringFormatter.CanRead 方法

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

Indicates whether the message queue can be read.

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

语法

声明
Public Function CanRead ( _
    msg As Message _
) As Boolean
用法
Dim instance As StringFormatter 
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 message object can be read; otherwise, false.

实现

IMessageFormatter.CanRead(Message)

请参阅

参考

StringFormatter 类

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