This documentation is archived and is not being maintained.

SqlDataReader.IsCommandBehavior Method

Determines whether the specified CommandBehavior matches that of the SqlDataReader .

Namespace: System.Data.SqlClient
Assembly: System.Data (in system.data.dll)

protected bool IsCommandBehavior (
	CommandBehavior condition
)
protected boolean IsCommandBehavior (
	CommandBehavior condition
)
protected function IsCommandBehavior (
	condition : CommandBehavior
) : boolean
Not applicable.

Parameters

condition

A CommandBehavior enumeration.

Return Value

true if the specified CommandBehavior is true, false otherwise.

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: