Condividi tramite


Metodo DatabaseAdapterBase.DataFileVolumeNotIn

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Protected Function DataFileVolumeNotIn ( _
    checkVolumes As List(Of String) _
) As Boolean
'Utilizzo
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

Parametri

Valore restituito

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

Osservazioni

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.

Vedere anche

Riferimento

DatabaseAdapterBase Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo