xSQL Schema Compare SDK version 9.5 for SQL Server
Contains(String) Method


The logical name of the data file to locate.
Indicates whether the collection contains a data file with the specified logical name.
Syntax
'Declaration
 
Public Overloads Overrides NotOverridable Function Contains( _
   ByVal name As System.String _
) As System.Boolean
public override System.bool Contains( 
   System.string name
)
public: System.bool Contains( 
   System.string* name
) override 

Parameters

name
The logical name of the data file to locate.

Return Value

true if a data file is found.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionname parameter 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

SqlDataFileCollection Class
SqlDataFileCollection Members
Overload List

 

 


┬ęCopyright 2018 xSQL Software. All Rights Reserved.

Send Feedback