Share via


DacType.GetSchemaContentSize Method

Gets the content size of the DAC package that is referenced by the specified stream.

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

Syntax

声明
Public Shared Function GetSchemaContentSize ( _
    stream As Stream _
) As Long
用法
Dim stream As Stream
Dim returnValue As Long

returnValue = DacType.GetSchemaContentSize(stream)
public static long GetSchemaContentSize(
    Stream stream
)
public:
static long long GetSchemaContentSize(
    Stream^ stream
)
static member GetSchemaContentSize : 
        stream:Stream -> int64 
public static function GetSchemaContentSize(
    stream : Stream
) : long

Parameters

  • stream
    Type: Stream
    The stream that references the DAC package.

Return Value

Type: Int64
A Int64 object representing the content size of the DAC package.

See Also

Reference

DacType Class

Microsoft.SqlServer.Management.Dac Namespace