ICoreApi.NotifyPackageInstalled Method

This element is introduced in Windows PowerShell 5.0.

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

Usage

'Usage
Dim instance As ICoreApi
Dim packageName As String
Dim version As String
Dim source As String
Dim destination As String
Dim returnValue As Boolean

returnValue = instance.NotifyPackageInstalled(packageName, version, source, destination)

Syntax

'Declaration
Function NotifyPackageInstalled ( _
    packageName As String, _
    version As String, _
    source As String, _
    destination As String _
) As Boolean
bool NotifyPackageInstalled (
    string packageName,
    string version,
    string source,
    string destination
)
bool NotifyPackageInstalled (
    String^ packageName, 
    String^ version, 
    String^ source, 
    String^ destination
)
boolean NotifyPackageInstalled (
    String packageName, 
    String version, 
    String source, 
    String destination
)
function NotifyPackageInstalled (
    packageName : String, 
    version : String, 
    source : String, 
    destination : String
) : boolean

Parameters

  • packageName
  • version
  • source
  • destination

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

ICoreApi Interface
ICoreApi Members
Microsoft.OneGet.Api Namespace