Share via


WHSInfoClass.GetShareInfo Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Returns a collection of IShareInfo objects.

Namespace: WHSInfoIF
Assembly: Interop.WHSInfoIF (in interop.whsinfoif.dll)

Syntax

'Declaration
Public Overridable Function GetShareInfo As Array Implements IWHSInfo.GetShareInfo
'Usage
Dim instance As WHSInfoClass
Dim returnValue As Array

returnValue = CType(instance, IWHSInfo).GetShareInfo
public virtual Array IWHSInfo.GetShareInfo ()
public:
virtual Array^ GetShareInfo () = IWHSInfo::GetShareInfo

Return Value

An array of objects of type IShareInfo.

Remarks

When you want to access an instance of IShareInfo that represents a shared folder on the computer, use the GetShareInfo method. The GetShareInfo method returns an array of objects of type IShareInfo. You can then iterate through each member of the array to access an individual IShareInfo instance.

Platforms

Windows Home Server

Windows Home Server

See Also

Reference

WHSInfoClass Class
WHSInfoClass Members
WHSInfoIF Namespace

Footer image

© 2007 Microsoft Corporation. All rights reserved.