PackageSource.IsTrusted Property

This element is introduced in Windows PowerShell 5.0.

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

Usage

'Usage
Dim instance As PackageSource
Dim value As Boolean

value = instance.IsTrusted

instance.IsTrusted = value

Syntax

'Declaration
Public Property IsTrusted As Boolean
public bool IsTrusted { get; set; }
public:
property bool IsTrusted {
    bool get ();
    void set (bool value);
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public boolean get_IsTrusted ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_IsTrusted (boolean value)
CompilerGeneratedAttribute 
public function get IsTrusted () : boolean

CompilerGeneratedAttribute 
public function set IsTrusted (value : boolean)

Property Value

Returns Boolean.

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

PackageSource Class
PackageSource Members
Microsoft.OneGet.MetaProvider.PowerShell Namespace