DatabaseAdapterBase.DataFileVolumeNotIn Method (List<String>)

 

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

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

protected bool DataFileVolumeNotIn(
	List<string> checkVolumes
)

Parameters

checkVolumes
Type: System.Collections.Generic.List<String>

The check volumes.

Return Value

Type: 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.

Return to top
Show: