DeploymentType.ValidateProperty Method
Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager
Validates a specified property of the deployment type.
Namespace: Microsoft.ConfigurationManagement.ApplicationManagement
Assembly: Microsoft.ConfigurationManagement.ApplicationManagement (in Microsoft.ConfigurationManagement.ApplicationManagement.dll)
Usage
'Usage
Dim instance As DeploymentType
Dim prop As PropertyInfo
Dim value As Object
instance.ValidateProperty(prop, value)
Syntax
'Declaration
<SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")> _
Public Overrides Sub ValidateProperty ( _
prop As PropertyInfo, _
value As Object _
)
[SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
public override void ValidateProperty (
PropertyInfo prop,
Object value
)
[SuppressMessageAttribute(L"Microsoft.Performance", L"CA1800:DoNotCastUnnecessarily")]
public:
virtual void ValidateProperty (
PropertyInfo^ prop,
Object^ value
) override
/** @attribute SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily") */
public void ValidateProperty (
PropertyInfo prop,
Object value
)
SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")
public override function ValidateProperty (
prop : PropertyInfo,
value : Object
)
Parameters
- prop
The property to validate.
- value
The value for validation.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Target Platforms
See Also
Reference
DeploymentType Class
DeploymentType Members
Microsoft.ConfigurationManagement.ApplicationManagement Namespace