NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ConstraintsCollection.IndexOf (String)

Returns the index of the constraint with the given name (case insensitive),-1 if it isn't contained.

[Visual Basic]
Overloads Public Function IndexOf( _
   ByVal constraintName As String _
) As Integer
[C#]
public int IndexOf(
   string constraintName
);
[C++]
public: int IndexOf(
   String* constraintName
);
[JScript]
public function IndexOf(
   constraintName : String
) : int;

Parameters

constraintName
the name to look for.

Return Value

index of the constraint with the name or-1.

See Also

ConstraintsCollection Class | ConstraintsCollection Members | System.Data Namespace | ConstraintsCollection.IndexOf Overload List