Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SqlBinary Structure

Represents a variable-length stream of binary data to be stored in or retrieved from a database.

For a list of all members of this type, see SqlBinary Members.

System.Object
   System.ValueType
      System.Data.SqlTypes.SqlBinary

[Visual Basic]
Public Structure SqlBinary
   Implements INullable, IComparable
[C#]
public struct SqlBinary : INullable, IComparable
[C++]
public __value struct SqlBinary : public INullable, IComparable

[JScript] In JScript, you can use the structures in the .NET Framework, but you cannot define your own.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Requirements

Namespace: System.Data.SqlTypes

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System.Data (in System.Data.dll)

See Also

SqlBinary Members | System.Data.SqlTypes Namespace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft