IResponseApi.YieldPackageSource Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Api
Assembly: Microsoft.OneGet (in Microsoft.OneGet.dll)


Dim instance As IResponseApi
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)


Function YieldPackageSource ( _
    name As String, _
    location As String, _
    isTrusted As Boolean, _
    isRegistered As Boolean, _
    isValidated As Boolean _
) As Boolean
bool YieldPackageSource (
    string name,
    string location,
    bool isTrusted,
    bool isRegistered,
    bool isValidated
bool YieldPackageSource (
    String^ name, 
    String^ location, 
    bool isTrusted, 
    bool isRegistered, 
    bool isValidated
boolean YieldPackageSource (
    String name, 
    String location, 
    boolean isTrusted, 
    boolean isRegistered, 
    boolean isValidated
function YieldPackageSource (
    name : String, 
    location : String, 
    isTrusted : boolean, 
    isRegistered : boolean, 
    isValidated : boolean
) : boolean


  • name
  • location
  • isTrusted
  • isRegistered
  • isValidated

Return 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.


Target Platforms

See Also


IResponseApi Interface
IResponseApi Members
Microsoft.OneGet.Api Namespace