AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

A Retention configuration for an object.

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.ObjectLockRetention

Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z

Syntax

C#
public class ObjectLockRetention

The ObjectLockRetention type exposes the following members

Constructors

NameDescription
Public Method ObjectLockRetention()

Properties

NameTypeDescription
Public Property Mode Amazon.S3.ObjectLockRetentionMode

Gets and sets the property Mode.

Indicates the Retention mode for the specified object.

Public Property RetainUntilDate System.DateTime

Gets and sets the property RetainUntilDate.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5