Метод 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