다음을 통해 공유


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.

참고 항목

참조

DatabaseFileMappingsDictionary 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스