Share via


DatabaseContext members

Contains information for a database and its server.

The DatabaseContext type exposes the following members.

Constructors

  Name Description
Public method DatabaseContext(ServerContext, String, PackageSource, String, String, Guid, Guid, Guid, String, String) Obsolete. Initializes a new instance of DatabaseContext with a ServerContext, database name, package source, package type and collation.
Public method DatabaseContext(ServerContext, String, PackageSource, String, String, Int32, Guid, Guid, Guid, String, String)
Public method DatabaseContext(ServerContext, String, PackageSource, String, String, Int32, Guid, Guid, Guid, String, String, Guid, Version, String, Guid, Boolean)

Top

Properties

  Name Description
Public property AppInstanceId The unique ID of the app
Public property AppProperties
Public property AppTitle
Public property AppVersion
Public property Collation The database level collation setting
Public property DacId
Public property DatabaseName Gets or sets the name of the database.
Public property DatabaseSize The maximum size of the database
Public property InstallationLocaleId
Public property PackageSource Gets or sets the source of the package.
Public property PackageType Gets or sets the type of the package.
Public property ProductId
Public property Server Gets or sets the server context.
Public property SiteId The ID of the site where the package is being installed
Public property SiteSubscriptionId The ID of the site subscription where the package is being installed
Public property TimeZone The time zone identifier that specifies the time zone information of the app

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
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

See also

Reference

DatabaseContext class

Microsoft.SharePoint.Administration.DatabaseProvider namespace