xSQL Schema Compare SDK for SQL Server version 12
Item Property (SqlDataFileCollection)


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

Parameters

name
The logical name of the data file to locate.

Property Value

A SqlDataFile element with the specified logical name or null if no 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

 

 


©Copyright 2022 xSQL Software. All Rights Reserved.

Send Feedback