DatabaseContext class
Contains information for a database and its server.
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Administration.DatabaseProvider.DatabaseContext
Namespace: Microsoft.SharePoint.Administration.DatabaseProvider
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class DatabaseContext
'Usage
Dim instance As DatabaseContext
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class DatabaseContext
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.SharePoint.Administration.DatabaseProvider namespace