xSQL Schema Compare SDK version 9.5 for SQL Server
Item Property (SqlUniqueConstraintCollection)


The name of the unique constraint to locate.
Gets the unique constraint with the specified name.
Syntax
'Declaration
 
Public Overrides NotOverridable ReadOnly Default Property Item( _
   ByVal name As System.String _
) As SqlUniqueConstraint
public override SqlUniqueConstraint this[ 
   System.string name
]; {get;}
public: __property SqlUniqueConstraint* get_Item   System.string* name
 override;

Parameters

name
The name of the unique constraint to locate.

Property Value

A SqlUniqueConstraint element with the specified name or null if no constraint is found.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThe name argument is null.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SqlUniqueConstraintCollection Class
SqlUniqueConstraintCollection Members

 

 


┬ęCopyright 2018 xSQL Software. All Rights Reserved.

Send Feedback