DisableExternalDataTables Class
- Last UpdatedDec 15, 2025
- 2 minute read
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
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
| Name | Description | |
|---|---|---|
| DisableExternalDataTables |
Properties
| Name | Description | |
|---|---|---|
| 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