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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。