EAPUtilSqlBlobToFile Method |
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static bool SqlBlobToFile(
SqlDataReader dr,
int nPictureColIdx,
string sDestFilePath,
int nPrefixByteCount
)
Public Shared Function SqlBlobToFile (
dr As SqlDataReader,
nPictureColIdx As Integer,
sDestFilePath As String,
nPrefixByteCount As Integer
) As Boolean
Parameters
- dr
- Type: System.Data.SqlClientSqlDataReader
The SQL-Server datareader. - nPictureColIdx
- Type: SystemInt32
The column index into the reader. - sDestFilePath
- Type: SystemString
The destination to which to write the file. - nPrefixByteCount
- Type: SystemInt32
The number of prefix bytes to ignore in the image stream.
Return Value
Type:
BooleanTrue if file was extracted, else false.
See Also