共用方式為


WordService Class

Defines the Word Automation Services globally and is directly derived from the SPIisWebService class.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPPersistedUpgradableObject
        Microsoft.SharePoint.Administration.SPService
          Microsoft.SharePoint.Administration.SPIisWebService
            Microsoft.Office.Word.Server.Service.WordService

Namespace:  Microsoft.Office.Word.Server.Service
Assembly:  Microsoft.Office.Word.Server (in Microsoft.Office.Word.Server.dll)

Syntax

'Declaration
<GuidAttribute("04724CFC-FD2B-4FAE-B23F-A2EB1F45B986")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class WordService _
    Inherits SPIisWebService _
    Implements IServiceAdministration, IFormattable
'Usage
Dim instance As WordService
[GuidAttribute("04724CFC-FD2B-4FAE-B23F-A2EB1F45B986")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class WordService : SPIisWebService, 
    IServiceAdministration, IFormattable

Remarks

There is exactly one WordService object in the configuration database; it represents the Word Automation Services that is installed in the farm.

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

WordService Members

Microsoft.Office.Word.Server.Service Namespace