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

AF SDK Reference

AFAnalysis Constructor (String)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAnalysis Constructor (String)

Note: This API is now obsolete.

Initializes a new instance of the class with the specified name.

Namespace:  OSIsoft.AF.Analysis
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

[BrowsableAttribute(false)]
[ObsoleteAttribute("This constructor has been replaced by 'AFAnalysis(AFDatabase,string)'.")]
public AFAnalysis(
	string name
)
<BrowsableAttribute(false)>
<ObsoleteAttribute("This constructor has been replaced by 'AFAnalysis(AFDatabase,string)'.")>
Public Sub New ( 
	name As String
)

Dim name As String

Dim instance As New AFAnalysis(name)
public:
[BrowsableAttribute(false)]
[ObsoleteAttribute(L"This constructor has been replaced by 'AFAnalysis(AFDatabase,string)'.")]
AFAnalysis(
	String^ name
)
[<BrowsableAttribute(false)>]
[<ObsoleteAttribute("This constructor has been replaced by 'AFAnalysis(AFDatabase,string)'.")>]
new : 
        name : string -> AFAnalysis

Parameters

name
Type: SystemString
The name of the newly created instance of the class. See the ValidateName(String, String) method for a description of what is valid when setting the name of the object.

Remarks

The instance of the class created using this constructor does not belong to any collection. To add the object to a collection, use the collection's Add method.

Version Information

AFSDK

Obsolete (compiler warning) in 3.1.1
Obsolete (compiler warning) in 3.1.0
Obsolete (compiler warning) in 3.0.2
Obsolete (compiler warning) in 3.0.1
Obsolete (compiler warning) in 3.0.0
Obsolete (compiler warning) in 2.10.11
Obsolete (compiler warning) in 2.10.5
Obsolete (compiler warning) in 2.10.0
Obsolete (compiler warning) in 2.10
Obsolete (compiler warning) in 2.9.5
Obsolete (compiler warning) in 2.9
Obsolete (compiler warning) in 2.8.5
Obsolete (compiler warning) in 2.8
Obsolete (compiler warning) in 2.7.5
Obsolete (compiler warning) in 2.7
Obsolete (compiler warning) in 2.6
Obsolete (compiler warning) in 2.5
Obsolete (compiler warning) in 2.4

See Also

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