C# 클래스 Dev2.InterfaceImplementors.ShareCollection

A collection of shares
상속: System.Collections.ReadOnlyCollectionBase
파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf 1 사용 예제들

공개 메소드들

메소드 설명
ShareCollection ( ) : System

Default constructor - local machine

ShareCollection ( string server ) : System

보호된 메소드들

메소드 설명
Add ( string netName, string path, ShareType shareType, string remark ) : void
EnumerateShares ( string server, ShareCollection shares ) : void

비공개 메소드들

메소드 설명
EnumerateSharesNt ( string server, ShareCollection shares ) : void
NetApiBufferFree ( IntPtr lpBuffer ) : int
NetShareEnum ( string lpServerName, int dwLevel, IntPtr &lpBuffer, int dwPrefMaxLen, int &entriesRead, int &totalEntries, int &hResume ) : int

메소드 상세

Add() 보호된 메소드

protected Add ( string netName, string path, ShareType shareType, string remark ) : void
netName string
path string
shareType ShareType
remark string
리턴 void

EnumerateShares() 보호된 정적인 메소드

protected static EnumerateShares ( string server, ShareCollection shares ) : void
server string
shares ShareCollection
리턴 void

ShareCollection() 공개 메소드

Default constructor - local machine
public ShareCollection ( ) : System
리턴 System

ShareCollection() 공개 메소드

public ShareCollection ( string server ) : System
server string
리턴 System