Compartir a través de


DatabaseFileMappingsDictionary.ContainsKey Método

Determines whether this dictionary contains the specified database source file path.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Function ContainsKey ( _
    sourceFilePath As String _
) As Boolean
'Uso
Dim instance As DatabaseFileMappingsDictionary 
Dim sourceFilePath As String 
Dim returnValue As Boolean 

returnValue = instance.ContainsKey(sourceFilePath)
public bool ContainsKey(
    string sourceFilePath
)
public:
bool ContainsKey(
    String^ sourceFilePath
)
member ContainsKey : 
        sourceFilePath:string -> bool
public function ContainsKey(
    sourceFilePath : String
) : boolean

Parámetros

  • sourceFilePath
    Tipo: System.String
    [T.System.String] that identifies the full path to the source database file, including the file name.

Valor devuelto

Tipo: System.Boolean
Boolean True if the dictionary contains this file path. Otherwise, False.

Vea también

Referencia

DatabaseFileMappingsDictionary Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo