Role Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Replica Role in availability group.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Support.RoleTypeConverter))]
public struct Role : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Support.Role>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Support.RoleTypeConverter))>]
type Role = struct
interface IArgumentCompleter
Public Structure Role
Implements IArgumentCompleter, IEquatable(Of Role)
- Inheritance
-
Role
- Attributes
- Implements
Fields
Primary | |
Secondary |
Methods
CompleteArgument(String, String, String, CommandAst, IDictionary) |
Implementations of this function are called by PowerShell to complete arguments. |
Equals(Object) |
Compares values of enum type Role (override for Object) |
Equals(Role) |
Compares values of enum type Role |
GetHashCode() |
Returns hashCode for enum Role |
ToString() |
Returns string representation for Role |
Operators
Equality(Role, Role) |
Overriding == operator for enum Role |
Implicit(Role to String) |
Implicit operator to convert Role to string |
Implicit(String to Role) |
Implicit operator to convert string to Role |
Inequality(Role, Role) |
Overriding != operator for enum Role |