Download full document:

VMSelectorsHelper.FindAndLockSequncerVM Method (Application, AppVServer, ReadOnlyObservableCollection(AppVVirtualMachineConfig), AppVVirtualMachineConfig)

Looking for VM configuration and try lock Sequencer VM

Namespace: Citrix.SDK.AppDNA.Solutions.AppV
Assembly: Citrix.SDK.AppDNA.Solutions.AppV (in Citrix.SDK.AppDNA.Solutions.AppV.dll) Version: 7.11.0.0 (7.11.0.0)

Syntax

C

public static bool FindAndLockSequncerVM(
    Application application,
    AppVServer appVServer,
    ReadOnlyObservableCollection<AppVVirtualMachineConfig> vmConfigs,
    out AppVVirtualMachineConfig findedVmConfig
)

VB

Public Shared Function FindAndLockSequncerVM ( 
    application As Application,
    appVServer As AppVServer,
    vmConfigs As ReadOnlyObservableCollection(Of AppVVirtualMachineConfig),
    <OutAttribute> ByRef findedVmConfig As AppVVirtualMachineConfig
) As Boolean

Parameters

 

application
Type: Citrix.SDK.AppDNA.Application
Processed application
appVServer
Type: Citrix.SDK.AppDNA.Solutions.AppV.AppVServer
AppV Server
vmConfigs
Type: System.Collections.ObjectModel.ReadOnlyObservableCollection(AppVVirtualMachineConfig)
All existing vmConfigurations for current solution
findedVmConfig
Type: Citrix.SDK.AppDNA.Solutions.AppV.VirtualMachines.AppVVirtualMachineConfig
Found VM configuration for application

Return Value

Type: Boolean
Result of capturing VM

See Also

Reference

VMSelectorsHelper Class
FindAndLockSequncerVM Overload
Citrix.SDK.AppDNA.Solutions.AppV Namespace