TransactionAnnotationsGetRequest Class
Represents a complex type that specifies details of what is requested.
Inheritance Hierarchy
System.Object
Microsoft.MasterDataServices.Services.MessageContracts.MessageRequest
Microsoft.MasterDataServices.Services.MessageContracts.TransactionAnnotationsGetRequest
Namespace: Microsoft.MasterDataServices.Services.MessageContracts
Assembly: Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)
Syntax
'Declaration
<MessageContractAttribute> _
Public Class TransactionAnnotationsGetRequest _
Inherits MessageRequest
'Usage
Dim instance As TransactionAnnotationsGetRequest
[MessageContractAttribute]
public class TransactionAnnotationsGetRequest : MessageRequest
[MessageContractAttribute]
public ref class TransactionAnnotationsGetRequest : public MessageRequest
[<MessageContractAttribute>]
type TransactionAnnotationsGetRequest =
class
inherit MessageRequest
end
public class TransactionAnnotationsGetRequest extends MessageRequest
The TransactionAnnotationsGetRequest type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TransactionAnnotationsGetRequest | Initializes a new instance of the TransactionAnnotationsGetRequest class. |
Top
Properties
Name | Description | |
---|---|---|
International | Gets or sets the client localization information. (Inherited from MessageRequest.) | |
TransactionId | Gets or sets the ID of the transaction to which the annotations belong. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Remarks
Starting in SQL Server 2012 R2, TransactionAnnotationsGetRequest requires a model ID in the request:
TransactionAnnotationsGetRequest getRequest = new TransactionAnnotationsGetRequest();
getRequest.TransactionId = targetTransaction.Id;
getRequest.ModelId = targetTransaction.ModelId; // ModelId is required now.
TransactionAnnotationsGetResponse getResponse = ApiUtilities.ServicesApiUtility.MdsService.TransactionAnnotationsGet(getRequest);
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.MasterDataServices.Services.MessageContracts Namespace