CanRead メソッド
メッセージ キューを読み取ることができるかどうかを示す値を取得します。
名前空間: Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
アセンブリ: Microsoft.SqlServer.MSMQTask (Microsoft.SqlServer.MSMQTask.dll)
構文
'宣言
Public Function CanRead ( _
msg As Message _
) As Boolean
'使用
Dim instance As Formatter
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
パラメーター
- msg
型: System.Messaging. . :: . .Message
読み取り可能かどうかを確認するメッセージ キューです。
戻り値
型: System. . :: . .Boolean
メッセージ オブジェクトが読み取り可能である場合は true です。