DatabaseFileMappingsDictionary.ContainsKey Method (String)
Determines whether this dictionary contains the specified database source file path.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
Public Function ContainsKey ( _
sourceFilePath As String _
) As Boolean
public bool ContainsKey (
string sourceFilePath
)
public:
bool ContainsKey (
String^ sourceFilePath
)
public boolean ContainsKey (
String sourceFilePath
)
public function ContainsKey (
sourceFilePath : String
) : boolean
Parameters
- sourceFilePath
T.System.String that identifies the full path to the source database file, including the file name.
Return Value
BooleanTrue if the dictionary contains this file path. Otherwise, False.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.