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

PI Powershell

AddAFSecurity.ApplyTo Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
AddAFSecurity.ApplyTo Property

A list of AF Objects that support AF Security for which to add the AF Security

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)

Syntax

[ParameterAttribute(Position = 1, Mandatory = true, HelpMessage = "AF Objects to apply security to")]
public IAFSecurable[] ApplyTo { get; set; }
<ParameterAttribute(Position := 1, Mandatory := true, HelpMessage := "AF Objects to apply security to")>
Public Property ApplyTo As IAFSecurable()
	Get
	Set

Dim instance As AddAFSecurity
Dim value As IAFSecurable()

value = instance.ApplyTo

instance.ApplyTo = value
public:
[ParameterAttribute(Position = 1, Mandatory = true, HelpMessage = L"AF Objects to apply security to")]
property array<IAFSecurable^>^ ApplyTo {
	array<IAFSecurable^>^ get ();
	void set (array<IAFSecurable^>^ value);
}
[<ParameterAttribute(Position = 1, Mandatory = true, HelpMessage = "AF Objects to apply security to")>]
member ApplyTo : IAFSecurable[] with get, set

Property Value

Type: IAFSecurable

See Also

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