DefaultDocumentService Property
The DefaultDocumentService property of the GlobalProperties class gets or sets the DocumentService object in the topology of a server farm.
Property Value
The DocumentService object used in the topology of a server farm.
Remarks
After calling the Add(Microsoft.SharePoint.Portal.Topology.DocumentService) method or the (inherited) Remove method of the DocumentServiceCollectionobject you must update theDefaultDocumentService property according to the action taken. If a new document service was added, the DefaultDocumentService property of the GlobalProperties object must point to it. If a document service is removed, the DefaultDocumentService property of the GlobalProperties object must be set to null. In both cases, you must call the Commit(Boolean) method of the GlobalProperties object to persist the changes.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security