Request.CreateShortcutLink Method

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 linkPath As String
Dim targetPath As String
Dim description As String
Dim workingDirectory As String
Dim arguments As String
Dim requestImpl As MarshalByRefObject

instance.CreateShortcutLink(linkPath, targetPath, description, workingDirectory, arguments, requestImpl)

Syntax

'Declaration
Public MustOverride Sub CreateShortcutLink ( _
    linkPath As String, _
    targetPath As String, _
    description As String, _
    workingDirectory As String, _
    arguments As String, _
    requestImpl As MarshalByRefObject _
)
public abstract void CreateShortcutLink (
    string linkPath,
    string targetPath,
    string description,
    string workingDirectory,
    string arguments,
    MarshalByRefObject requestImpl
)
public:
virtual void CreateShortcutLink (
    String^ linkPath, 
    String^ targetPath, 
    String^ description, 
    String^ workingDirectory, 
    String^ arguments, 
    MarshalByRefObject^ requestImpl
) abstract
public abstract void CreateShortcutLink (
    String linkPath, 
    String targetPath, 
    String description, 
    String workingDirectory, 
    String arguments, 
    MarshalByRefObject requestImpl
)
public abstract function CreateShortcutLink (
    linkPath : String, 
    targetPath : String, 
    description : String, 
    workingDirectory : String, 
    arguments : String, 
    requestImpl : MarshalByRefObject
)

Parameters

  • linkPath
  • targetPath
  • description
  • workingDirectory
  • arguments
  • requestImpl

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