Compartir a través de


DatabaseFileMappingsDictionary.Item Propiedad

Returns the database file mapping information for the specified source file.

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

Sintaxis

'Declaración
Public Default Property Item ( _
    sourceFilePath As String _
) As String 
    Get 
    Set
'Uso
Dim instance As DatabaseFileMappingsDictionary 
Dim sourceFilePath As String 
Dim value As String 

value = instance(sourceFilePath)

instance(sourceFilePath) = value
public string this[
    string sourceFilePath
] { get; set; }
public:
property String^ default[String^ sourceFilePath] {
    String^ get (String^ sourceFilePath);
    void set (String^ sourceFilePath, String^ value);
}
member Item : string with get, set
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.

Parámetros

  • sourceFilePath
    Tipo: System.String
    [T.System.String] that identifies the source database file path

Valor de la propiedad

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

Vea también

Referencia

DatabaseFileMappingsDictionary Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo