Condividi tramite


BdcService Class

Represents the abstract, conceptual Business Data Connectivity (BDC) service.

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.SharePoint.BusinessData.SharedService.BdcService

Namespace:  Microsoft.SharePoint.BusinessData.SharedService
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<GuidAttribute("443AA960-2F46-46b9-836F-BED134269E3E")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class BdcService _
    Inherits SPIisWebService
'Usage
Dim instance As BdcService
[GuidAttribute("443AA960-2F46-46b9-836F-BED134269E3E")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class BdcService : SPIisWebService

Remarks

This type is used to track whether the service exists in a farm, and answers what services are installed and available in the farm.

The BdcServiceApplication is an instantiation of a BdcService to provide functionality to a Web application. The BdcService is conceptually a process that runs to back the BdcServiceApplication; if the BdcService is stopped, the BdcServiceApplication will not be responsive. Whether the BdcService is running on a particular computer determines whether that computer can do work to service Business Data Connectivity (BDC) service requests to the farm.

Examples

Code Snippet: Get the DatabaseBackedMetadataCatalog on the Server

Code Snippet: Execute a Finder Method Instance of an External Content Type

Code Snippet: Execute the AssociationNavigator Method Instance of an External Content Type for an Association Without a Foreign Key

Code Snippet: Execute the Associator and Disassociator Method Instances of an External Content Type

Code Snippet: Execute the BulkAssociationNavigator Method Instance of an External Content Type

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

BdcService Members

Microsoft.SharePoint.BusinessData.SharedService Namespace