Share via


AccessProtocol Struct

Definition

Argument completer implementation for AccessProtocol.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Support.AccessProtocolTypeConverter))]
public struct AccessProtocol : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.DataBox.Support.AccessProtocol>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Support.AccessProtocolTypeConverter))>]
type AccessProtocol = struct
    interface IArgumentCompleter
Public Structure AccessProtocol
Implements IArgumentCompleter, IEquatable(Of AccessProtocol)
Inheritance
AccessProtocol
Attributes
Implements

Fields

Nfs

Network File System protocol(NFS).

Smb

Server Message Block protocol(SMB).

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(AccessProtocol)

Compares values of enum type AccessProtocol

Equals(Object)

Compares values of enum type AccessProtocol (override for Object)

GetHashCode()

Returns hashCode for enum AccessProtocol

ToString()

Returns string representation for AccessProtocol

Operators

Equality(AccessProtocol, AccessProtocol)

Overriding == operator for enum AccessProtocol

Implicit(AccessProtocol to String)

Implicit operator to convert AccessProtocol to string

Implicit(String to AccessProtocol)

Implicit operator to convert string to AccessProtocol

Inequality(AccessProtocol, AccessProtocol)

Overriding != operator for enum AccessProtocol

Applies to