OperationResult Class

This class is used to return operation results when calling an Connector to perform an ExecuteOperation or TestOperation.

Inheritance Hierarchy

System Object

  Scribe.Core.ConnectorApi.Actions OperationResult

Namespace:  Scribe.Core.ConnectorApi.Actions
Assembly:  Scribe.Core.ConnectorApi (in Scribe.Core.ConnectorApi.dll)

Syntax

[DataContractAttribute]
[KnownTypeAttribute(typeof(DataEntity))]
[KnownTypeAttribute(typeof(ErrorResult))]
public class OperationResult

The OperationResult type exposes the following members.

Constructors

 

Name

Description

Public method

OperationResult

Default Ctor

Public method

OperationResult(Int32)

Used to allocate for bulk operations

Properties

 

Name

Description

Public property

ErrorInfo

This property references the error information by each operation. One Error for each operation.

Public property

ObjectsAffected

This property holds the count of objects affected by the operation. One integer for each operation.

Public property

Output

This property references the root DataEntity affected by the operation. One root DataEntity for each operation.

Public property

Success

This property holds whether the operation was a success. One boolean for each operation.

Methods

 

Name

Description

Public method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)

Public method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)

Public method

GetType

Gets the Type of the current instance.

(Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)

Public method

ToString

Returns a string that represents the current object.

(Inherited from Object.)

See

Scribe.Core.ConnectorApi.Actions Namespace