Udostępnij za pośrednictwem


DatabaseFileMappingsDictionary.Item Property

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

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

Syntax

'Deklaracja
Public Default Property Item ( _
    sourceFilePath As String _
) As String
public string this [
    string sourceFilePath
] { get; set; }
public:
property String^ default [String^] {
    String^ get (String^ sourceFilePath);
    void set (String^ sourceFilePath, String^ value);
}
/** @property */
public String get_Item (String sourceFilePath)

/** @property */
public void set_Item (String sourceFilePath, String value)

Parameters

  • sourceFilePath
    T.System.String that identifies the source database file path

Property Value

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

Thread Safety

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.