| IPowerShellScriptVerifyResultProperty Method |
Verifies that one of the results returned contains a property that matches the supplied value.
Namespace:
Galactic.PowerShell
Assembly:
Galactic.PowerShell (in Galactic.PowerShell.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax bool VerifyResultProperty(
string propertyName,
string value
)
Function VerifyResultProperty (
propertyName As String,
value As String
) As Boolean
bool VerifyResultProperty(
String^ propertyName,
String^ value
)
abstract VerifyResultProperty :
propertyName : string *
value : string -> bool
Parameters
- propertyName
- Type: SystemString
The name of the property in the result object to verify. - value
- Type: SystemString
The value to match against.
Return Value
Type:
BooleanTrue if the property value matches the supplied value. False otherwise.
See Also