Interface CfnLocationSMB.IMountOptionsProperty
Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IMountOptionsProperty
Syntax (vb)
Public Interface IMountOptionsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataSync;
var mountOptionsProperty = new MountOptionsProperty {
Version = "version"
};
Synopsis
Properties
Version | By default, DataSync automatically chooses an SMB protocol version based on negotiation with your SMB file server. |
Properties
Version
By default, DataSync automatically chooses an SMB protocol version based on negotiation with your SMB file server.
virtual string Version { get; }
Property Value
System.String
Remarks
You also can configure DataSync to use a specific SMB version, but we recommend doing this only if DataSync has trouble negotiating with the SMB file server automatically.
These are the following options for configuring the SMB version:
This is the recommended option. If you instead choose a specific version that your file server doesn't support, you may get an Operation Not Supported
error.
The <code>SMB1</code> option isn't available when <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationFsxOntap.html">creating an Amazon FSx for NetApp ONTAP location</a> .