SqlBytes.ToSqlBinary Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Constructs and returns a SqlBinary from this SqlBytes instance.

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

public SqlBinary ToSqlBinary()

Return Value

Type: System.Data.SqlTypes.SqlBinary

A SqlBinary from this instance.

.NET Framework
Available since 2.0
Return to top