Proprietà DatabaseFileMappingsDictionary.Item
Returns the database file mapping information for the specified source file.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Default Property Item ( _
sourceFilePath As String _
) As String
Get
Set
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- sourceFilePath
Tipo: System.String
[T.System.String] that identifies the source database file path
Valore proprietà
Tipo: System.String
A [T.System.String] that identifies the full path to the source database file, including the file name.