SqlGuid.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.

Converts this SqlGuid structure to SqlBinary.

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

public SqlBinary ToSqlBinary()

Return Value

Type: System.Data.SqlTypes.SqlBinary

A SqlBinary structure that contains the bytes in the SqlGuid structure.

.NET Framework
Available since 1.1
Return to top