DatabaseAdapterBase.GetVolume 方法
Returns the volume name as it appears in the PATH variable.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Function GetVolume ( _
file As String _
) As String
用法
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
参数
- file
类型:System.String
The file.
返回值
类型:System.String
The volume name as it appears in the PATH variable.