Share via


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

instance.Provider = value

Syntax

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

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_Provider (String value)
CompilerGeneratedAttribute 
public function get Provider () : String

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