BinarySourceBase.GetContents Method

Gets the contents of the file stream in a byte array.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Overridable Function GetContents As Byte()
'Usage
Dim instance As BinarySourceBase
Dim returnValue As Byte()

returnValue = instance.GetContents()
public virtual byte[] GetContents()
public:
virtual array<unsigned char>^ GetContents()
abstract GetContents : unit -> byte[] 
override GetContents : unit -> byte[] 
public function GetContents() : byte[]

Return Value

Type: System.Byte[]
An array of Byte values that hold the contents of the file stream.

Implements

IBinarySource.GetContents()

See Also

Reference

BinarySourceBase Class

Microsoft.SqlServer.Management.Dac Namespace