Freigeben über


Variable2KFormatter.CanRead-Methode

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

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

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 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

Parameter

Rückgabewert

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

Implementiert

IMessageFormatter.CanRead(Message)

Siehe auch

Verweis

Variable2KFormatter Klasse

Microsoft.SqlServer.Dts.Tasks.MessageQueueTask-Namespace