DataFileVolumeNotIn 方法

Returns a Boolean value that is associated with the database adapter base.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Protected Function DataFileVolumeNotIn ( _
    checkVolumes As List(Of String) _
) As Boolean
用法
Dim checkVolumes As List(Of String)
Dim returnValue As Boolean

returnValue = Me.DataFileVolumeNotIn(checkVolumes)
protected bool DataFileVolumeNotIn(
    List<string> checkVolumes
)
protected:
bool DataFileVolumeNotIn(
    List<String^>^ checkVolumes
)
member DataFileVolumeNotIn : 
        checkVolumes:List<string> -> bool 
protected function DataFileVolumeNotIn(
    checkVolumes : List<String>
) : boolean

参数

返回值

类型:System. . :: . .Boolean
Returns a Boolean value that is associated with the database adapter base.

注释

Compares the drive letter from files in the filegroups against the drive letters in the checkDrives parameter.

If any one file drive letter is in the list of checkVolumes, True is returned; otherwise, False.