Item-Eigenschaft

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

'Declaration
Public Default Property Item ( _
    sourceFilePath As String _
) As String
    Get
    Set
'Usage
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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.

Parameter

Eigenschaftswert

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