DatabaseFileMappingsDictionary 类
This class, which is inherited from Dictionary, maps database file paths from the source server to the corresponding target server location that the user specifies.
继承层次结构
System.Object
System.Collections.Generic.Dictionary<String, String>
Microsoft.SqlServer.Management.Smo.DatabaseFileMappingsDictionary
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<ComVisibleAttribute(False)> _
Public NotInheritable Class DatabaseFileMappingsDictionary _
Inherits Dictionary(Of String, String)
用法
Dim instance As DatabaseFileMappingsDictionary
[ComVisibleAttribute(false)]
public sealed class DatabaseFileMappingsDictionary : Dictionary<string, string>
[ComVisibleAttribute(false)]
public ref class DatabaseFileMappingsDictionary sealed : public Dictionary<String^, String^>
[<SealedAttribute>]
[<ComVisibleAttribute(false)>]
type DatabaseFileMappingsDictionary =
class
inherit Dictionary<string, string>
end
public final class DatabaseFileMappingsDictionary extends Dictionary<String, String>
DatabaseFileMappingsDictionary 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
DatabaseFileMappingsDictionary | This class, which is inherited from Dictionary, maps database file paths from the source server to the corresponding target server location that the user specifies. |
页首
属性
名称 | 说明 | |
---|---|---|
Comparer | (从 Dictionary<String, String> 继承。) | |
Count | (从 Dictionary<String, String> 继承。) | |
Item | Returns the database file mapping information for the specified source file. | |
Keys | (从 Dictionary<String, String> 继承。) | |
Values | (从 Dictionary<String, String> 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
Add | Adds the specified database source file path and its associated database target file path to the dictionary. | |
Clear | (从 Dictionary<String, String> 继承。) | |
ContainsKey | Determines whether this dictionary contains the specified database source file path. | |
ContainsValue | (从 Dictionary<String, String> 继承。) | |
Equals | (从 Object 继承。) | |
GetEnumerator | (从 Dictionary<String, String> 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetObjectData | 安全关键。 (从 Dictionary<String, String> 继承。) | |
GetType | (从 Object 继承。) | |
OnDeserialization | (从 Dictionary<String, String> 继承。) | |
Remove | (从 Dictionary<String, String> 继承。) | |
ToString | (从 Object 继承。) | |
TryGetValue | (从 Dictionary<String, String> 继承。) |
页首
显式接口实现
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。