Gets a property
Namespace: SSIS.Test.DtsAssembly: SSIS.Test (in SSIS.Test.dll) Version: 3.0.0.236 (3.0.0.236)
Syntax
C# |
---|
public DtsObjectProperty GetProperty( string name ) |
Visual Basic |
---|
Public Function GetProperty ( _ name As String _ ) As DtsObjectProperty |
Visual C++ |
---|
public: DtsObjectProperty^ GetProperty( String^ name ) |
Parameters
- name
- Type: System..::..String
Name of the property to get. For example, Disable, Name...
Return Value
Instance of DtsObjectProperty if found in the package, otherwise null.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentException | If a property with a given name is not present, ArgumentException is thrown. |