AnnotationsUpdateRequest Class

Represents a request to update the comment text of an annotation.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.AnnotationsUpdateRequest

Namespace:  Microsoft.MasterDataServices
Assembly:  Microsoft.MasterDataServices (in Microsoft.MasterDataServices.dll)

Syntax

'Declaration
<MessageContractAttribute(WrapperName := "AnnotationsUpdateRequest", WrapperNamespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09",  _
    IsWrapped := True)> _
Public Class AnnotationsUpdateRequest
'Usage
Dim instance As AnnotationsUpdateRequest
[MessageContractAttribute(WrapperName = "AnnotationsUpdateRequest", WrapperNamespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09", 
    IsWrapped = true)]
public class AnnotationsUpdateRequest
[MessageContractAttribute(WrapperName = L"AnnotationsUpdateRequest", WrapperNamespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09", 
    IsWrapped = true)]
public ref class AnnotationsUpdateRequest
[<MessageContractAttribute(WrapperName = "AnnotationsUpdateRequest", WrapperNamespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09", 
    IsWrapped = true)>]
type AnnotationsUpdateRequest =  class end
public class AnnotationsUpdateRequest

The AnnotationsUpdateRequest type exposes the following members.

Constructors

  Name Description
Public method AnnotationsUpdateRequest() Initializes a new instance of the AnnotationsUpdateRequest class with default values.
Public method AnnotationsUpdateRequest(International, String, Int32) Initializes a new instance of the AnnotationsUpdateRequest class with the specified culture, comment, and annotation ID.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Public field Comment Specifies the text with which to replace the current annotation text.
Public field Id Specifies the annotation ID.
Public field International Specifies the cultural setting.

Top

Remarks

Only the user who created the annotation or a model administrator can update an annotation. The annotations are found by ID. The annotation’s text is replaced with the supplied Comment property.

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.