Share via


CommonServicesProvider.CreateShortcutLink Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.ServicesProvider.Common
Assembly: Microsoft.OneGet.ServicesProvider.Common (in Microsoft.OneGet.ServicesProvider.Common.dll)

Usage

'Usage
Dim instance As CommonServicesProvider
Dim linkPath As String
Dim targetPath As String
Dim description As String
Dim workingDirectory As String
Dim arguments As String
Dim requestImpl As Object

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

Syntax

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

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

CommonServicesProvider Class
CommonServicesProvider Members
Microsoft.OneGet.ServicesProvider.Common Namespace