Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Powershell

DisableExternalDataTables Class

  • Last UpdatedDec 15, 2025
  • 2 minute read
DisableExternalDataTables Class

Disables support for an AFTable to link to an external source.

This method is used to disable the PISystemFeatures.ExternallyLinkedTable feature in the PI AF SQL Server database. This feature controls support for allowing an AFTable to link to an external source.

Inheritance Hierarchy

SystemObject
  InternalCommand
    Cmdlet
      PSCmdlet
        OSIsoft.PowerShellOSICmdletBase
          OSIsoft.PowerShellDisableExternalDataTables

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)

Syntax

[CmdletAttribute("Disable", "AFExternalDataTables", SupportsShouldProcess = true)]
public class DisableExternalDataTables : OSICmdletBase
<CmdletAttribute("Disable", "AFExternalDataTables", SupportsShouldProcess := true)>
Public Class DisableExternalDataTables
	Inherits OSICmdletBase

Dim instance As DisableExternalDataTables
[CmdletAttribute(L"Disable", L"AFExternalDataTables", SupportsShouldProcess = true)]
public ref class DisableExternalDataTables : public OSICmdletBase
[<CmdletAttribute("Disable", "AFExternalDataTables", SupportsShouldProcess = true)>]
type DisableExternalDataTables =  
    class
        inherit OSICmdletBase
    end

The DisableExternalDataTables type exposes the following members.

Constructors

  NameDescription
Public method
DisableExternalDataTables

Properties

  NameDescription
Public property
AFServer

Instance of the AFServer

Examples

$afServer | Disable-AFExternalDataTables

Where:

$afServer = Get-AFServer -Name "AFServerMachineName"

Disables support for an AFTable to link to an external source

See Also

TitleResults for “How to create a CRG?”Also Available in