Response.YieldPackageSource Method

This element is introduced in Windows PowerShell 5.0.


Namespace: Microsoft.OneGet.Providers.Package
Assembly: Microsoft.OneGet (in Microsoft.OneGet.dll)

'Usage
Dim instance As Response(Of T)
Dim name As String
Dim location As String
Dim isTrusted As Boolean
Dim isRegistered As Boolean
Dim isValidated As Boolean
Dim returnValue As Boolean

returnValue = instance.YieldPackageSource(name, location, isTrusted, isRegistered, isValidated)

public bool YieldPackageSource (
	string name,
	string location,
	bool isTrusted,
	bool isRegistered,
	bool isValidated
)
public final boolean YieldPackageSource (
	String name, 
	String location, 
	boolean isTrusted, 
	boolean isRegistered, 
	boolean isValidated
)
public final function YieldPackageSource (
	name : String, 
	location : String, 
	isTrusted : boolean, 
	isRegistered : boolean, 
	isValidated : boolean
) : boolean

Parameters

name

location

isTrusted

isRegistered

isValidated

Return Value

Returns Boolean.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show: