BacpacMetadata Class

Represents the Bacpac metadata including the version schema, assembly that created the bacpac, and other information.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Dac.Bacpac.BacpacMetadata

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

Syntax

'Declaration
Public Class BacpacMetadata
'Usage
Dim instance As BacpacMetadata
public class BacpacMetadata
public ref class BacpacMetadata
type BacpacMetadata =  class end
public class BacpacMetadata

The BacpacMetadata type exposes the following members.

Constructors

  Name Description
Public method BacpacMetadata() Initializes new instance of the BacpacMetadata class.
Public method BacpacMetadata(String) Initializes new instance of the BacpacMetadata class with the specified server string.

Top

Properties

  Name Description
Public property BacpacIdentity Gets or sets the globally unique identifier for this bacpac instance.
Public property BacpacSchema Gets or sets the schema URI of this bacpac.
Public property ColumnCountAverage Gets or sets the average number of columns per table.
Public property ColumnCountTotal Gets or sets the total column count in the bacpac.
Public property ExportEnd Gets or sets the UTC Datetime that the bacpac export ended.
Public property ExportStart Gets or sets the UTC Datetime that the bacpac export was started.
Public property IndexCount Gets or sets the number of indices.
Public property LoginCount Gets or sets the number of logins.
Public propertyStatic member ManifestUri Gets the URI path name of the manifest file.
Public property ProcedureCount Gets or sets the number of stored procedures.
Public property ProductName Gets or sets the name of the executing assembly that generated this bacpac.
Public property ProductVersion Gets or sets the version of the executing assembly that generated this bacpac.
Public property SchemaCount Gets or sets the total number of schema objects.
Public property ServerExportVersion Gets or sets the name of the SQL Server used during export.
Public property SourceDatabaseSizeInKB Gets or sets the size of the source database at export.
Public property TableCountTotal Gets or sets the total table count in the bacpac.
Public property TableRowCountAverage Gets or sets the average number of rows per table.
Public property TableRowCountTotal Gets or sets the total number of rows in the bacpac.
Public property TriggerCount Gets or sets the number of triggers.
Public property UserCount Gets or sets the number of users.
Public property ViewCount Gets or sets the number of views.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public methodStatic member GetBacpacMetadataFromStream Gets a bacpac manifest from a stream.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Dac.Bacpac Namespace