다음을 통해 공유


FileShare Class

Definition

File share information with Path, Username, and Password.

public class FileShare : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataMigration.Models.FileShare>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataMigration.Models.FileShare>
type FileShare = class
    interface IJsonModel<FileShare>
    interface IPersistableModel<FileShare>
Public Class FileShare
Implements IJsonModel(Of FileShare), IPersistableModel(Of FileShare)
Inheritance
FileShare
Implements

Constructors

FileShare(String)

Initializes a new instance of FileShare.

Properties

Password

Password credential used to connect to the share location.

Path

The folder path for this share.

UserName

User name credential to connect to the share location.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<FileShare>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<FileShare>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FileShare>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FileShare>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<FileShare>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to