StationOptions.SystemDefaultSourceCodeControlProvider

Syntax

StationOptions.SystemDefaultSourceCodeControlProvider

Data Type

String

Purpose

Specifies the default system source code control provider.

If you do not want to specify a default source code control provider, pass an empty string as the value of this property.

Remarks

Note This is a system property. Changes to this property affect all Microsoft Windows applications using source code control integration.
Note Setting StationOptions.SystemDefaultSourceCodeControlProvider fails silently if TestStand does not have sufficient privileges to modify the Windows registry.

This property reflects the value stored in the Windows registry for the system source code control settings located in the string key HKEY_LOCAL_MACHINE\Software\SourceCodeControlProvider\ProviderRegKey . The key specifies the name of the HKEY_LOCAL_MACHINE\Software registry key that contains the source code control provider server name and path. (32-bit TestStand) On 64-bit operating systems, this registry key appears only in the 32-bit registry. Use the path HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SourceCodeControlProvider\ProviderRegKey to access the key in the registry editor.

If the Engine.CurrentWorkspaceFile property is not empty and the WorkspaceFile.ProviderName property for the current workspace is empty, TestStand connects to the system default source code control provider to perform source code control operations.

If the value of this property is empty, TestStand only connects to a source code control provider if the WorkspaceFile.ProviderName property for the current workspace is not empty.

See Also

Engine.CurrentWorkspaceFile

StationOptions.CheckOutFilesWhenEdited

StationOptions.CheckOutOnlySelectedFiles

StationOptions.PromptWhenAddingFilesToSC

StationOptions.UseDialogForCheckout

WorkspaceFile.ProviderName