共用方式為


TransactionAnnotationsGetRequest 類別

Represents a complex type that specifies details of what is requested.

繼承階層

System.Object
  Microsoft.MasterDataServices.Services.MessageContracts.MessageRequest
    Microsoft.MasterDataServices.Services.MessageContracts.TransactionAnnotationsGetRequest

命名空間:  Microsoft.MasterDataServices.Services.MessageContracts
組件:  Microsoft.MasterDataServices.Services.Contracts (在 Microsoft.MasterDataServices.Services.Contracts.dll 中)

語法

'宣告
<MessageContractAttribute> _
Public Class TransactionAnnotationsGetRequest _
    Inherits MessageRequest
'用途
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

TransactionAnnotationsGetRequest 型別公開下列成員。

建構函式

  名稱 說明
公用方法 TransactionAnnotationsGetRequest Initializes a new instance of the TransactionAnnotationsGetRequest class.

上層

屬性

  名稱 說明
公用屬性 International Gets or sets the client localization information. (繼承自 MessageRequest。)
公用屬性 TransactionId Gets or sets the ID of the transaction to which the annotations belong.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

備註

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);

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.MasterDataServices.Services.MessageContracts 命名空間