WorkspaceFile.IsConnectedToSCProvider

Syntax

WorkspaceFile.IsConnectedToSCProvider

Data Type

Boolean

Purpose

Returns a value that indicates whether the workspace file is connected to a source code control (SCC) provider.

Remarks

TestStand connects a workspace file to an SCC provider when you set the Engine.CurrentWorkspaceFile property. The WorkspaceFile.ProviderName property specifies the associated provider. If the workspace file does not have a provider associated with it, TestStand connects to the default provider specified in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider . (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 to access the key in the registry editor.

See Also

Engine.CurrentWorkspaceFile

StationOptions.SystemDefaultSourceCodeControlProvider

WorkspaceFile.ProviderName