Share via


SqlAssemblyFile.GetFileBytes Method

Returns the bytes in the assembly file.

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

Syntax

'Declaration
Public Function GetFileBytes As Byte()
'Usage
Dim instance As SqlAssemblyFile
Dim returnValue As Byte()

returnValue = instance.GetFileBytes()
public byte[] GetFileBytes()
public:
array<unsigned char>^ GetFileBytes()
member GetFileBytes : unit -> byte[] 
public function GetFileBytes() : byte[]

Return Value

Type: array<System.Byte[]
A Uint8 array value that contains the bytes of the assembly file.

Examples

Calling Methods