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