Share via


SysCommentsObjectAnnotation Class

Defines an annotation that applies to a syscomments object.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.SchemaModel.ModelAnnotation
    Microsoft.Data.Schema.Sql.SchemaModel.SysCommentsObjectAnnotation

Namespace:  Microsoft.Data.Schema.Sql.SchemaModel
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
Public Class SysCommentsObjectAnnotation _
    Inherits ModelAnnotation
public class SysCommentsObjectAnnotation : ModelAnnotation
public ref class SysCommentsObjectAnnotation : public ModelAnnotation
type SysCommentsObjectAnnotation =  
    class
        inherit ModelAnnotation
    end
public class SysCommentsObjectAnnotation extends ModelAnnotation

The SysCommentsObjectAnnotation type exposes the following members.

Constructors

  Name Description
Protected method SysCommentsObjectAnnotation Initializes a new instance of the SysCommentsObjectAnnotation class.

Top

Properties

  Name Description
Public property AnnotationClass Gets the metadata object that describes this instance. (Inherited from ModelAnnotation.)
Public property CreateOffset Gets or sets the create offset.
Public property FooterContents Gets or sets the footer contents.
Public property HeaderContents Gets or sets the header contents.
Public property IsAttachedToStore Gets a value that indicates whether the annotation is attached to a ModelStore. (Inherited from ModelAnnotation.)
Public property Length Gets or sets the length.
Public property Model Gets or sets the ModelStore. (Inherited from ModelAnnotation.)
Public property Name Gets or sets the annotation name. (Inherited from ModelAnnotation.)
Public property Offset Gets or sets the offset.
Public property StartColumn Gets or sets the starting column.
Public property StartLine Gets or sets the starting line.

Top

Methods

  Name Description
Public method Delete Deletes this instance from the schema model. (Inherited from ModelAnnotation.)
Public method Equals Returns a value that indicates whether a provided object is equal to the current object. (Inherited from ModelAnnotation.)
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 GetElements Returns a list of elements in this instance. (Inherited from ModelAnnotation.)
Public method GetHashCode Not required. (Inherited from ModelAnnotation.)
Public method GetProperty<TProperty> Retrieves a specified property. (Inherited from ModelAnnotation.)
Public method GetRelationshipEntries Returns the relationship entries to which this annotation is attached. (Inherited from ModelAnnotation.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsDeleted Returns a value that indicates whether this instance has been deleted. (Inherited from ModelAnnotation.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetProperty<TProperty> Sets the value of the provided property. (Inherited from ModelAnnotation.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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

Microsoft.Data.Schema.Sql.SchemaModel Namespace