Language

GetGPRegistryValueCommand.Key Property

 

Gets and sets the value of the Key parameter of the Get-GPRegistryValue cmdlet.

Namespace:   Microsoft.GroupPolicy.Commands
Assembly:  Microsoft.GroupPolicy.Commands (in Microsoft.GroupPolicy.Commands.dll)

Syntax

[ParameterAttribute(Mandatory = true)]
[ValidateNotNullOrEmptyAttribute]
[AliasAttribute(new string[] { ... })]
public string Key { get; set; }
public:
[ParameterAttribute(Mandatory = true)]
[ValidateNotNullOrEmptyAttribute]
[AliasAttribute(new array<String^>^ { ... })]
property String^ Key {
    String^ get();
    void set(String^ value);
}
[<ParameterAttribute(Mandatory = true)>]
[<ValidateNotNullOrEmptyAttribute>]
[<AliasAttribute([| ... |])>]
member Key : string with get, set
<ParameterAttribute(Mandatory := True)>
<ValidateNotNullOrEmptyAttribute>
<AliasAttribute(New String() { ... })>
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 Get-GPRegistryValue in the Microsoft TechNet library.

For Help at the command line, type:

get-help get-gpregistryvalue

See Also

GetGPRegistryValueCommand Class
Microsoft.GroupPolicy.Commands Namespace

Return to top