Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the value of this column as a string from the given reader.
If allowNulls is true, null values will be returned as null strings.
Otherwise, a SQLException will be thrown if a null is encountered
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function GetString ( _
reader As DbDataReader, _
allowNulls As Boolean _
) As String
public string GetString(
DbDataReader reader,
bool allowNulls
)
public:
String^ GetString(
DbDataReader^ reader,
bool allowNulls
)
member GetString :
reader:DbDataReader *
allowNulls:bool -> string
public function GetString(
reader : DbDataReader,
allowNulls : boolean
) : String
Parameters
- reader
Type: System.Data.Common.DbDataReader
- allowNulls
Type: System.Boolean
Return Value
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.