Class SharedFolder
Information about a shared folder
Inheritance
System.Object
SharedFolder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class SharedFolder
Constructors
SharedFolder(String, String, String, SharedFolderType, String)
Constructor
Declaration
public SharedFolder(string _server, string _name, string _path, SharedFolderType _shareType, string _remark)
Parameters
Type | Name | Description |
---|---|---|
System.String | _server | |
System.String | _name | |
System.String | _path | |
SharedFolderType | _shareType | |
System.String | _remark |
Properties
Description
Comment
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
System.String |
FolderName
Share name
Declaration
public string FolderName { get; }
Property Value
Type | Description |
---|---|
System.String |
Path
Local path
Declaration
public string Path { get; }
Property Value
Type | Description |
---|---|
System.String |
Server
The name of the computer that this share belongs to
Declaration
public string Server { get; }
Property Value
Type | Description |
---|---|
System.String |
SharedFolderType
Share type
Declaration
public SharedFolderType SharedFolderType { get; }
Property Value
Type | Description |
---|---|
SharedFolderType |
Methods
ConvertToString()
Converts the data into specified string format
Declaration
public virtual string ConvertToString()
Returns
Type | Description |
---|---|
System.String |
GetRootFolder()
Get the root folder of a disk-based shared path
Declaration
public virtual DirectoryInfo GetRootFolder()
Returns
Type | Description |
---|---|
System.IO.DirectoryInfo |
IsSharedFolder()
Returns true if this is a file system share
Declaration
public virtual bool IsSharedFolder()
Returns
Type | Description |
---|---|
System.Boolean |