xSQL.Schema.SqlServer Namespace > SqlConnectionManager Class > GetReader Method : GetReader(String,CommandBehavior) Method |
'Declaration Public Overloads Function GetReader( _ ByVal query As System.String, _ ByVal behavior As System.Data.CommandBehavior _ ) As System.Data.SqlClient.SqlDataReader
Exception | Description |
---|---|
System.ArgumentNullException | The query parameter is null |
System.ArgumentException | The query parameter is an empty string |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2