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< (Of < ( <'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< (Of < ( <'String, String> ) > ) > 继承。) | |
Count | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
Item | Returns the database file mapping information for the specified source file. | |
Keys | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
Values | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
Add | Adds the specified database source file path and its associated database target file path to the dictionary. | |
Clear | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
ContainsKey | Determines whether this dictionary contains the specified database source file path. | |
ContainsValue | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetEnumerator | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetObjectData | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
OnDeserialization | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
Remove | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
ToString | (从 Object 继承。) | |
TryGetValue | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
ICollection< (Of < <' (KeyValuePair< (Of < <' (TKey, TValue> ) > > )> ) > > ). . :: . .Add | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
IDictionary. . :: . .Add | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
ICollection< (Of < <' (KeyValuePair< (Of < <' (TKey, TValue> ) > > )> ) > > ). . :: . .Contains | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
IDictionary. . :: . .Contains | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
ICollection< (Of < <' (KeyValuePair< (Of < <' (TKey, TValue> ) > > )> ) > > ). . :: . .CopyTo | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
ICollection. . :: . .CopyTo | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
IEnumerable< (Of < <' (KeyValuePair< (Of < <' (TKey, TValue> ) > > )> ) > > ). . :: . .GetEnumerator | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
IEnumerable. . :: . .GetEnumerator | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
IDictionary. . :: . .GetEnumerator | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
IDictionary. . :: . .IsFixedSize | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
ICollection< (Of < <' (KeyValuePair< (Of < <' (TKey, TValue> ) > > )> ) > > ). . :: . .IsReadOnly | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
IDictionary. . :: . .IsReadOnly | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
ICollection. . :: . .IsSynchronized | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
IDictionary. . :: . .Item | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
IDictionary< (Of < <' (TKey, TValue> ) > > ). . :: . .Keys | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
IDictionary. . :: . .Keys | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
ICollection< (Of < <' (KeyValuePair< (Of < <' (TKey, TValue> ) > > )> ) > > ). . :: . .Remove | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
IDictionary. . :: . .Remove | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
ICollection. . :: . .SyncRoot | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
IDictionary< (Of < <' (TKey, TValue> ) > > ). . :: . .Values | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) | |
IDictionary. . :: . .Values | (从 Dictionary< (Of < ( <'String, String> ) > ) > 继承。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。