Request.GetPackageManagementService Method
Returns a reference to the PackageManagementService API The consumer of this function should either use this as a dynamic object Or DuckType it to an interface that resembles IPacakgeManagementService 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 Request
Dim requestImpl As MarshalByRefObject
Dim returnValue As Object
returnValue = instance.GetPackageManagementService(requestImpl)
Syntax
'Declaration
Public MustOverride Function GetPackageManagementService ( _
requestImpl As MarshalByRefObject _
) As Object
public abstract Object GetPackageManagementService (
MarshalByRefObject requestImpl
)
public:
virtual Object^ GetPackageManagementService (
MarshalByRefObject^ requestImpl
) abstract
public abstract Object GetPackageManagementService (
MarshalByRefObject requestImpl
)
public abstract function GetPackageManagementService (
requestImpl : MarshalByRefObject
) : Object
Parameters
- requestImpl
Return Value
Returns Object.
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
Request Class
Request Members
Microsoft.OneGet.MetaProvider.PowerShell Namespace