共用方式為


SPWebService.ContentService Property

Gets the Web service associated with the content application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

Public Shared ReadOnly Property ContentService As SPWebService
    Get

Dim value As SPWebService

value = SPWebService.ContentService
public static SPWebService ContentService { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPWebService
An SPWebService object.

See Also

Reference

SPWebService Class

SPWebService Members

Microsoft.SharePoint.Administration Namespace