Compartilhar via


SPConfigDatabase Class

The SPConfigDatabase class represents the configuration database in a Microsoft Windows SharePoint Services deployment.

System.Object

   Microsoft.SharePoint.Administration.SPConfigDatabase

Public Properties

The following table shows the public properties of the SPConfigDatabase class, the data type of each property, and a brief description of each.

Name Data Type Description
Name String Gets the name of the configuration database in Microsoft SQL Server.
Server String Gets the name of the server that contains the configuration database.
UserName String Gets the account name of the configuration database owner.
Version System.Version Gets the version of the configuration database.
WindowsAuthentication Boolean Gets a Boolean value that indicates whether Windows authentication is enabled for the configuration database.

Thread Safety

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

Requirements

Namespace: Microsoft.SharePoint.Administration

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security