RestartComputerCommand.Protocol Property
Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)
Usage
'Usage
Dim instance As RestartComputerCommand
Dim value As String
value = instance.Protocol
instance.Protocol = value
Syntax
'Declaration
<ValidateSetAttribute(System.String[])> _
<ParameterAttribute(ParameterSetName:="DefaultSet")> _
Public Property Protocol As String
[ValidateSetAttribute(System.String[])]
[ParameterAttribute(ParameterSetName="DefaultSet")]
public string Protocol { get; set; }
[ValidateSetAttribute(System.String[])]
[ParameterAttribute(ParameterSetName=L"DefaultSet")]
public:
property String^ Protocol {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_Protocol ()
/** @property */
public void set_Protocol (String value)
public function get Protocol () : String
public function set Protocol (value : String)
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Target Platforms
See Also
Reference
RestartComputerCommand Class
RestartComputerCommand Members
Microsoft.PowerShell.Commands Namespace