示例#1
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="virtualServer">Owner virtual server.</param>
 /// <param name="owner">Owner SharedRootFolderCollection collection that owns this root folder.</param>
 /// <param name="id">Root folder ID.</param>
 /// <param name="enabled">Specifies if root folder is enabled.</param>
 /// <param name="name">Root folder name.</param>
 /// <param name="description">Root folder description.</param>
 /// <param name="type">Root folder type.</param>
 /// <param name="boundedUser">Root folder bounded user.</param>
 /// <param name="boundedFolder">Root folder bounded folder.</param>
 internal SharedRootFolder(VirtualServer virtualServer, SharedRootFolderCollection owner, string id, bool enabled, string name, string description, SharedFolderRootType_enum type, string boundedUser, string boundedFolder)
 {
     m_pVirtualServer = virtualServer;
     m_pOwner         = owner;
     m_ID             = id;
     m_Enabled        = enabled;
     m_Name           = name;
     m_Description    = description;
     m_FolderType     = type;
     m_BoundedUser    = boundedUser;
     m_BoundedFolder  = boundedFolder;
 }
示例#2
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="virtualServer">Owner virtual server.</param>
 /// <param name="owner">Owner SharedRootFolderCollection collection that owns this root folder.</param>
 /// <param name="id">Root folder ID.</param>
 /// <param name="enabled">Specifies if root folder is enabled.</param>
 /// <param name="name">Root folder name.</param>
 /// <param name="description">Root folder description.</param>
 /// <param name="type">Root folder type.</param>
 /// <param name="boundedUser">Root folder bounded user.</param>
 /// <param name="boundedFolder">Root folder bounded folder.</param>
 internal SharedRootFolder(VirtualServer virtualServer,SharedRootFolderCollection owner,string id,bool enabled,string name,string description,SharedFolderRootType_enum type,string boundedUser,string boundedFolder)
 {
     m_pVirtualServer = virtualServer;
     m_pOwner         = owner;
     m_ID             = id;
     m_Enabled        = enabled;
     m_Name           = name;
     m_Description    = description;
     m_FolderType     = type;
     m_BoundedUser    = boundedUser;
     m_BoundedFolder  = boundedFolder;
 }