Share via


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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。