DatabaseFileMappingsDictionary.ContainsKey 方法
Determines whether this dictionary contains the specified database source file path.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Function ContainsKey ( _
sourceFilePath As String _
) As Boolean
用法
Dim instance As DatabaseFileMappingsDictionary
Dim sourceFilePath As String
Dim returnValue As Boolean
returnValue = instance.ContainsKey(sourceFilePath)
public bool ContainsKey(
string sourceFilePath
)
public:
bool ContainsKey(
String^ sourceFilePath
)
member ContainsKey :
sourceFilePath:string -> bool
public function ContainsKey(
sourceFilePath : String
) : boolean
参数
- sourceFilePath
类型:System.String
[T.System.String] that identifies the full path to the source database file, including the file name.
返回值
类型:System.Boolean
Boolean True if the dictionary contains this file path. Otherwise, False.