Share via


UnregisterPackageSource.Source 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.Source

instance.Source = value

Syntax

'Declaration
<ParameterAttribute(Position:=0, Mandatory:=True, ParameterSetName:="SourceBySearch")> _
<AliasAttribute(System.String[])> _
Public Property Source As String
[ParameterAttribute(Position=0, Mandatory=true, ParameterSetName="SourceBySearch")] 
[AliasAttribute(System.String[])] 
public string Source { get; set; }
[ParameterAttribute(Position=0, Mandatory=true, ParameterSetName=L"SourceBySearch")] 
[AliasAttribute(System.String[])] 
public:
property String^ Source {
    String^ get ();
    void set (String^ value);
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public String get_Source ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_Source (String value)
CompilerGeneratedAttribute 
public function get Source () : String

CompilerGeneratedAttribute 
public function set Source (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