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
'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)
Syntax
'Declaration
Public Function YieldPackageSource ( _
name As String, _
location As String, _
isTrusted As Boolean, _
isRegistered As Boolean, _
isValidated As Boolean _
) As Boolean
public bool YieldPackageSource (
string name,
string location,
bool isTrusted,
bool isRegistered,
bool isValidated
)
public:
virtual bool YieldPackageSource (
String^ name,
String^ location,
bool isTrusted,
bool isRegistered,
bool isValidated
) sealed
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.
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
Response Generic Class
Response Members
Microsoft.OneGet.Providers.Package Namespace