MpuSqlClrWrapper.GetVolumeFreeSpaceInKB(String) Method

Definition

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. Gets the amount of free space, in kilobytes (KB), of the volume of the specified file.

public:
 static System::Data::SqlTypes::SqlInt64 GetVolumeFreeSpaceInKB(System::String ^ fileName);
[Microsoft.SqlServer.Server.SqlFunction]
public static System.Data.SqlTypes.SqlInt64 GetVolumeFreeSpaceInKB (string fileName);
[<Microsoft.SqlServer.Server.SqlFunction>]
static member GetVolumeFreeSpaceInKB : string -> System.Data.SqlTypes.SqlInt64
Public Shared Function GetVolumeFreeSpaceInKB (fileName As String) As SqlInt64

Parameters

fileName
String

A String containing the name of the specified file.

Returns

An integer value specifying the amount of free space, in KB, of the volume.

Attributes

Applies to