Note that this would not even compile if you'd use an If
-clause(which is more appropriate here):
If fullName.Contains("Example" And "Example2" And "Example3") Then
' this doesn't compile since you cannot concat a string with And
' you want to check if fullName equals to one of the strings anyway
siteId = 0
End If
If you want to check multiple items at once, define a collection, add all to it and then use Contains
:
Dim siteNames = { "Example", "Example2", "Example3" }
If siteNames.Contains(fullName) Then
siteId = 0
End If