Share via


DatabaseFileMappingsDictionary Class

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.

Inheritance Hierarchy

System.Object
  System.Collections.Generic.Dictionary<String, String>
    Microsoft.SqlServer.Management.Smo.DatabaseFileMappingsDictionary

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public NotInheritable Class DatabaseFileMappingsDictionary _
    Inherits Dictionary(Of String, String)
'Usage
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>

The DatabaseFileMappingsDictionary type exposes the following members.

Constructors

  Name Description
Public method 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.

Top

Properties

  Name Description
Public property Comparer (Inherited from Dictionary<String, String>.)
Public property Count (Inherited from Dictionary<String, String>.)
Public property Item Returns the database file mapping information for the specified source file.
Public property Keys (Inherited from Dictionary<String, String>.)
Public property Values (Inherited from Dictionary<String, String>.)

Top

Methods

  Name Description
Public method Add Adds the specified database source file path and its associated database target file path to the dictionary.
Public method Clear (Inherited from Dictionary<String, String>.)
Public method ContainsKey Determines whether this dictionary contains the specified database source file path.
Public method ContainsValue (Inherited from Dictionary<String, String>.)
Public method Equals (Inherited from Object.)
Public method GetEnumerator (Inherited from Dictionary<String, String>.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Security Critical. (Inherited from Dictionary<String, String>.)
Public method GetType (Inherited from Object.)
Public method OnDeserialization (Inherited from Dictionary<String, String>.)
Public method Remove (Inherited from Dictionary<String, String>.)
Public method ToString (Inherited from Object.)
Public method TryGetValue (Inherited from Dictionary<String, String>.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection<KeyValuePair<TKey, TValue>>.Add (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method IDictionary.Add (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method ICollection<KeyValuePair<TKey, TValue>>.Contains (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method IDictionary.Contains (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method ICollection<KeyValuePair<TKey, TValue>>.CopyTo (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method IEnumerable<KeyValuePair<TKey, TValue>>.GetEnumerator (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method IDictionary.GetEnumerator (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property IDictionary.IsFixedSize (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property IDictionary.IsReadOnly (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property IDictionary.Item (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property IDictionary<TKey, TValue>.Keys (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property System#Collections#Generic#IReadOnlyDictionary{TKey@TValue}#Keys (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property IDictionary.Keys (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method ICollection<KeyValuePair<TKey, TValue>>.Remove (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate method IDictionary.Remove (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property IDictionary<TKey, TValue>.Values (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property System#Collections#Generic#IReadOnlyDictionary{TKey@TValue}#Values (Inherited from Dictionary<String, String>.)
Explicit interface implemetationPrivate property IDictionary.Values (Inherited from Dictionary<String, String>.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace