EnableExternalDataTables Class
- Last UpdatedDec 15, 2025
- 2 minute read
Enables support for an AFTable to link to an external source.
This method is used to enable 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.PowerShellEnableExternalDataTables
InternalCommand
Cmdlet
PSCmdlet
OSIsoft.PowerShellOSICmdletBase
OSIsoft.PowerShellEnableExternalDataTables
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)
Syntax
[CmdletAttribute("Enable", "AFExternalDataTables", SupportsShouldProcess = true)] public class EnableExternalDataTables : OSICmdletBase
<CmdletAttribute("Enable", "AFExternalDataTables", SupportsShouldProcess := true)> Public Class EnableExternalDataTables Inherits OSICmdletBase Dim instance As EnableExternalDataTables
[CmdletAttribute(L"Enable", L"AFExternalDataTables", SupportsShouldProcess = true)] public ref class EnableExternalDataTables : public OSICmdletBase
[<CmdletAttribute("Enable", "AFExternalDataTables", SupportsShouldProcess = true)>] type EnableExternalDataTables = class inherit OSICmdletBase end
The EnableExternalDataTables type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| EnableExternalDataTables |
Properties
| Name | Description | |
|---|---|---|
| AFServer | Instance of the AFServer |
Examples
$afServer | Enable-AFExternalDataTables
Where:
$afServer = Get-AFServer -Name "AFServerMachineName"
Enables support for an AFTable to link to an external source