Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.