DatabaseFileMappingsDictionary.ContainsKey 메서드

Determines whether this dictionary contains the specified database source file path.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Function ContainsKey ( _
    sourceFilePath As String _
) As Boolean
‘사용 방법
Dim instance As DatabaseFileMappingsDictionary 
Dim sourceFilePath As String 
Dim returnValue As Boolean 

returnValue = instance.ContainsKey(sourceFilePath)
public bool ContainsKey(
    string sourceFilePath
)
public:
bool ContainsKey(
    String^ sourceFilePath
)
member ContainsKey : 
        sourceFilePath:string -> bool
public function ContainsKey(
    sourceFilePath : String
) : boolean

매개 변수

  • sourceFilePath
    유형: System.String
    [T.System.String] that identifies the full path to the source database file, including the file name.

반환 값

유형: System.Boolean
Boolean True if the dictionary contains this file path. Otherwise, False.

참고 항목

참조

DatabaseFileMappingsDictionary 클래스

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