Export (0) Print
Expand All
ABS
ALL
AND
ANY
AVG
bit
COS
COT
DAY
EXP
GO
IN
LEN
LOG
MAX
MIN
NOT
OR
PI
SET
SIN
STR
SUM
TAN
USE
VAR
Expand Minimize

fn_servershareddrives

SQL Server 2000

Returns the names of shared drives used by the clustered server.

Syntax

fn_servershareddrives()

Tables Returned

If the current server instance is not a clustered server, fn_servershareddrives returns an empty rowset.

If the current server is a clustered server, fn_servershareddrives returns the following information:

Name Data type Description
DriveName nchar(1) Name of the shared drive

Remarks

fn_servershareddrives returns a list of shared drives used by this clustered server. These shared drives belong to the same cluster group as the SQL Server resource. Further, the SQL Server resource is dependent on these drives.

This function is helpful in identifying drives available to users.

Examples

Here is a query on a clustered server instance.

SELECT *
FROM ::fn_servershareddrives()

Here is the result set:

DriveName
--------
m
n

See Also

Failover Clustering

fn_virtualservernodes

Show:
© 2014 Microsoft