Share via


UnregisterPackageSource.Location Property

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.PowerShell.OneGet.CmdLets
Assembly: Microsoft.PowerShell.OneGet (in Microsoft.PowerShell.OneGet.dll)

Usage

'Usage
Dim instance As UnregisterPackageSource
Dim value As String

value = instance.Location

instance.Location = value

Syntax

'Declaration
<ParameterAttribute(ParameterSetName:="SourceBySearch")> _
Public Property Location As String
[ParameterAttribute(ParameterSetName="SourceBySearch")] 
public string Location { get; set; }
[ParameterAttribute(ParameterSetName=L"SourceBySearch")] 
public:
property String^ Location {
    String^ get ();
    void set (String^ value);
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public String get_Location ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_Location (String value)
CompilerGeneratedAttribute 
public function get Location () : String

CompilerGeneratedAttribute 
public function set Location (value : String)

Property Value

Returns 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

UnregisterPackageSource Class
UnregisterPackageSource Members
Microsoft.PowerShell.OneGet.CmdLets Namespace