Checks if the object is a valid object.
object.IsValid()
CaWPromote
None
A boolean - True if the object is a valid object otherwise False.
Example
Dim objPromote Set objPromote = objContext.GetPromote() If objPromote.IsValid() <> 0 Then
msgbox “This is a valid object”, vbOKonly, “Test Promote”
End If
| Copyright © 2013 CA. All rights reserved. |
|