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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。