Share via


RelationalAnnotations.SetAnnotation Method

Definition

Overloads

SetAnnotation(String, Object)

Attempts to set an annotation with the given name to the given value and returns whether or not this was successful.

SetAnnotation(String, String, Object)

SetAnnotation(String, Object)

Attempts to set an annotation with the given name to the given value and returns whether or not this was successful.

public virtual bool SetAnnotation (string annotationName, object value);
abstract member SetAnnotation : string * obj -> bool
override this.SetAnnotation : string * obj -> bool
Public Overridable Function SetAnnotation (annotationName As String, value As Object) As Boolean

Parameters

annotationName
String

The name of the annotation to set.

value
Object

The value to set.

Returns

True if the annotation was set; false otherwise.

Applies to

SetAnnotation(String, String, Object)

public virtual bool SetAnnotation (string relationalAnnotationName, string providerAnnotationName, object value);
abstract member SetAnnotation : string * string * obj -> bool
override this.SetAnnotation : string * string * obj -> bool
Public Overridable Function SetAnnotation (relationalAnnotationName As String, providerAnnotationName As String, value As Object) As Boolean

Parameters

relationalAnnotationName
String
providerAnnotationName
String
value
Object

Returns

Applies to