语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

DataShareConnection Class

Definition

The connection details for Data Share source

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.DataShareConnectionTypeConverter))]
public class DataShareConnection : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IDataShareConnection, Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.DataShareConnectionTypeConverter))>]
type DataShareConnection = class
    interface IDataShareConnection
    interface IJsonSerializable
    interface IStorageConnectorConnection
    interface IValidates
Public Class DataShareConnection
Implements IDataShareConnection, IValidates
Inheritance
DataShareConnection
Attributes
Implements

Constructors

Name Description
DataShareConnection()

Creates an new DataShareConnection instance.

Properties

Name Description
DataShareUri
Type

Type of the connection. Controls the type of the connection object. Not mutable once the Storage Connector is created.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DataShareConnection.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DataShareConnection.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IDataShareConnection.

FromJsonString(String)

Creates a new instance of DataShareConnection, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DataShareConnection into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to