SPDatabaseService properties

The SPDatabaseService type exposes the following members.

Properties

  Name Description
Public property AllowDatabaseWithHigherSchemaVersion
Public property Applications Gets the collection of service applications associated with the service. (Inherited from SPService.)
Public property AutoProvision Available in SharePoint 2016 and later. Gets (and in some scenarios sets) a Boolean value that indicates whether the service is enabled on the farm. (Inherited from SPService.)
Public property CanUpgrade Gets a value that indicates whether the object can be upgraded. (Inherited from SPPersistedUpgradableObject.)
Public property CommandTimeout Gets or sets the number of seconds before the command will time out. 
Public property CompliantWithMinRole (Inherited from SPService.)
Public property ConnectionTimeout Gets or sets the number of seconds before the connection will time out. 
Public property DeploymentLocked (Inherited from SPPersistedObject.)
Public property Description (Overrides SPService.Description.)
Public property DisplayName Gets the display name that describes the persisted object instance within the administrative user interface. (Inherited from SPPersistedObject.)
Public property Farm Gets the server farm where the object resides. (Inherited from SPPersistedObject.)
Public property Hidden (Inherited from SPService.)
Public property Id Gets or sets the GUID that is associated with the object. (Inherited from SPPersistedObject.)
Public property Instances Gets a collection of all instances of the service in the server farm. (Inherited from SPService.)
Public property IsBackwardsCompatible Gets or sets a value that indicates whether the current object is backward compatible. (Inherited from SPPersistedUpgradableObject.)
Public property JobDefinitions Gets a collection of job definitions for this service. (Inherited from SPService.)
Public property JobHistoryEntries Gets an enumeration of the job history entries for this service. (Inherited from SPService.)
Public property MaximumPoolSize Property indicating the maximum number of connections to have in the connection pool.
Public property MinimumPoolSize Property indicating the minimum number of connections to have in the connection pool.
Public property Name Gets or sets a name that is used to uniquely identify two objects that have the same parent and class. (Inherited from SPPersistedObject.)
Public property NeedsUpgrade Gets or sets a Boolean value that specifies whether the object needs to be upgraded. (Inherited from SPPersistedUpgradableObject.)
Public property NeedsUpgradeIncludeChildren Gets a Boolean value that indicates whether the object should be upgraded, considering the children of the object. (Inherited from SPPersistedUpgradableObject.)
Public property PacketSize
Public property Parent Gets the parent in the logical hierarchy of the configuration object tree. (Inherited from SPPersistedObject.)
Public property ProcessIdentity Gets the process identity for the Windows service. (Inherited from SPWindowsService.)
Public property Properties Gets metadata for the persisted object. (Inherited from SPPersistedObject.)
Public property QueryLoggingThreshold The amount of time, in milliseconds that a query must run before the system overrides the current logging levels and writes the query text and callstack in the trace log.
Public property Required Gets a Boolean value that indicates whether an instance of the service must be running on at least one computer in the server farm. (Inherited from SPService.)
Public property RunningJobs Gets a collection of running jobs for this service. (Inherited from SPService.)
Public property ShouldDeferUpgradeActions (Inherited from SPPersistedUpgradableObject.)
Public property Status Gets or sets the status of the object that the class represents. (Inherited from SPPersistedObject.)
Public property SystemService (Overrides SPService.SystemService.)
Public property TypeName Gets the display name that is used to describe the service in the user interface. (Overrides SPPersistedObject.TypeName.)
Public property UpgradeContext Gets the SPUpgradeContext for the current upgrade operation. (Inherited from SPPersistedUpgradableObject.)
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)
Public property Version Gets a value that is incremented each time the object is updated. (Inherited from SPPersistedObject.)
Protected property WasCreated Gets a Boolean value that indicates whether the object is initialized and can be found in the database. (Inherited from SPPersistedObject.)

Top

See also

Reference

SPDatabaseService class

Microsoft.SharePoint.Administration namespace