共用方式為


ActivationError Class

Represents the error that is encountered during external content type activation.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.BusinessData.Administration.ActivationError
    Microsoft.SharePoint.BusinessData.Administration.AssociationGroupAloneBulkNavigatorError
    Microsoft.SharePoint.BusinessData.Administration.AssociationGroupError
    Microsoft.SharePoint.BusinessData.Administration.AssociationReferenceInMultipleGroupsError
    Microsoft.SharePoint.BusinessData.Administration.MethodError

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class ActivationError
'Usage
Dim instance As ActivationError
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class ActivationError

Remarks

One version of an external content type can be active at run time. The activation ensures that all the references from or to this external content type are verified. An activation error occurs when one or more of these references are not valid, meaning the external content type would not be usable at run time.

Examples

Code Snippet: Create an External Content Type Using the Administration Object Model

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

ActivationError Members

Microsoft.SharePoint.BusinessData.Administration Namespace