DatabaseFileMappingsDictionary.Item 屬性
Returns the database file mapping information for the specified source file.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Default Property Item ( _
sourceFilePath As String _
) As String
Get
Set
'用途
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 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- sourceFilePath
型別:System.String
[T.System.String] that identifies the source database file path
屬性值
型別:System.String
A [T.System.String] that identifies the full path to the source database file, including the file name.