مشاركة عبر


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

'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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

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

Property Value

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

See Also

Reference

DatabaseFileMappingsDictionary Class

Microsoft.SqlServer.Management.Smo Namespace