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.