DatabaseAdapterBase.GetVolume Method
Returns the volume name as it appears in the PATH variable.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Function GetVolume ( _
file As String _
) As String
'Usage
Dim instance As DatabaseAdapterBase
Dim file As String
Dim returnValue As String
returnValue = instance.GetVolume(file)
public string GetVolume(
string file
)
public:
String^ GetVolume(
String^ file
)
member GetVolume :
file:string -> string
public function GetVolume(
file : String
) : String
Parameters
- file
Type: System.String
The file.
Return Value
Type: System.String
The volume name as it appears in the PATH variable.