Classe TransactionAnnotationsGetRequest
Represents a complex type that specifies details of what is requested.
Hierarquia de herança
System.Object
Microsoft.MasterDataServices.Services.MessageContracts.MessageRequest
Microsoft.MasterDataServices.Services.MessageContracts.TransactionAnnotationsGetRequest
Namespace: Microsoft.MasterDataServices.Services.MessageContracts
Assembly: Microsoft.MasterDataServices.Services.Contracts (em Microsoft.MasterDataServices.Services.Contracts.dll)
Sintaxe
'Declaração
<MessageContractAttribute> _
Public Class TransactionAnnotationsGetRequest _
Inherits MessageRequest
'Uso
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
O tipo TransactionAnnotationsGetRequest expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
TransactionAnnotationsGetRequest | Initializes a new instance of the TransactionAnnotationsGetRequest class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
International | Gets or sets the client localization information. (Herdado de MessageRequest.) | |
TransactionId | Gets or sets the ID of the transaction to which the annotations belong. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
MemberwiseClone | (Herdado de Object.) | |
ToString | (Herdado de Object.) |
Início
Comentários
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);
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.
Consulte também
Referência
Namespace Microsoft.MasterDataServices.Services.MessageContracts