Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DatabaseFileMappingsDictionary.ContainsKey Method

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)

public bool ContainsKey(
	string sourceFilePath


Type: String
[T.System.String] that identifies the full path to the source database file, including the file name.

Return Value

Type: Boolean
Boolean True if the dictionary contains this file path. Otherwise, False.

Community Additions

© 2015 Microsoft