SetGPRegistryValueCommand.Key Property
Gets and sets the value of the Key parameter of the Set-GPRegistryValue cmdlet.
Namespace: Microsoft.GroupPolicy.Commands
Assembly: Microsoft.GroupPolicy.Commands (in Microsoft.GroupPolicy.Commands.dll)
Syntax
[ParameterAttribute(Mandatory = true, ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmptyAttribute]
[AliasAttribute(new string[] { ... })]
[ValidateLengthAttribute(1, 260)]
public string Key { get; set; }
public:
[ParameterAttribute(Mandatory = true, ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmptyAttribute]
[AliasAttribute(new array<String^>^ { ... })]
[ValidateLengthAttribute(1, 260)]
property String^ Key {
String^ get();
void set(String^ value);
}
[<ParameterAttribute(Mandatory = true, ValueFromPipelineByPropertyName = true)>]
[<ValidateNotNullOrEmptyAttribute>]
[<AliasAttribute([| ... |])>]
[<ValidateLengthAttribute(1, 260)>]
member Key : string with get, set
<ParameterAttribute(Mandatory := True, ValueFromPipelineByPropertyName := True)>
<ValidateNotNullOrEmptyAttribute>
<AliasAttribute(New String() { ... })>
<ValidateLengthAttribute(1, 260)>
Public Property Key As String
Property Value
Type: System.String
Returns String.
Remarks
This topic is included in this SDK for completeness only.For more information about this cmdlet, see Set-GPRegistryValue in the Microsoft TechNet library.
For Help at the command line, type:
get-help set-gpregistryvalue
See Also
SetGPRegistryValueCommand Class
Microsoft.GroupPolicy.Commands Namespace
Return to top