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

ShareCredentialDetails 构造函数

定义

重载

ShareCredentialDetails()

初始化 ShareCredentialDetails 类的新实例。

ShareCredentialDetails(String, Nullable<ShareDestinationFormatType>, String, String, IList<Nullable<AccessProtocol>>)

初始化 ShareCredentialDetails 类的新实例。

ShareCredentialDetails()

初始化 ShareCredentialDetails 类的新实例。

public ShareCredentialDetails ();
Public Sub New ()

适用于

ShareCredentialDetails(String, Nullable<ShareDestinationFormatType>, String, String, IList<Nullable<AccessProtocol>>)

初始化 ShareCredentialDetails 类的新实例。

public ShareCredentialDetails (string shareName = default, Microsoft.Azure.Management.DataBox.Models.ShareDestinationFormatType? shareType = default, string userName = default, string password = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataBox.Models.AccessProtocol?> supportedAccessProtocols = default);
new Microsoft.Azure.Management.DataBox.Models.ShareCredentialDetails : string * Nullable<Microsoft.Azure.Management.DataBox.Models.ShareDestinationFormatType> * string * string * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.DataBox.Models.AccessProtocol>> -> Microsoft.Azure.Management.DataBox.Models.ShareCredentialDetails
Public Sub New (Optional shareName As String = Nothing, Optional shareType As Nullable(Of ShareDestinationFormatType) = Nothing, Optional userName As String = Nothing, Optional password As String = Nothing, Optional supportedAccessProtocols As IList(Of Nullable(Of AccessProtocol)) = Nothing)

参数

shareName
String

共享的名称。

shareType
Nullable<ShareDestinationFormatType>

共享的类型。 可能的值包括:“UnknownType”、“HCS”、“BlockBlob”、“PageBlob”、“AzureFile”、“ManagedDisk”

userName
String

共享的用户名。

password
String

共享的密码。

supportedAccessProtocols
IList<Nullable<AccessProtocol>>

设备上支持的访问协议。

适用于