Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Indicates whether the message queue can be read.
Namespace: Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Assembly: Microsoft.SqlServer.MSMQTask (in Microsoft.SqlServer.MSMQTask.dll)
Syntax
'Declaration
Public Function CanRead ( _
msg As Message _
) As Boolean
'Usage
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
Parameters
- msg
Type: System.Messaging.Message
The message queue whose readability is in question.
Return Value
Type: System.Boolean
true if the message object can be read; otherwise, false.
Implements
IMessageFormatter.CanRead(Message)