C# 클래스 Installer.IISSamples.IIS

파일 보기 프로젝트 열기: jadu/Phalanger 1 사용 예제들

공개 메소드들

메소드 설명
AddApplication ( string siteName, string applicationPath, string applicationPool, string physicalPath, string userName, string password ) : bool

AddDirectorySecurity ( string directoryPath, string userAccount, FileSystemRights rights, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType controlType ) : bool

AddFileSecurity ( string filePath, string userAccount, FileSystemRights rights, AccessControlType controlType ) : bool

AddSiteBinding ( string siteName, string ipAddress, string tcpPort, string hostHeader, string protocol ) : bool

AddVirtualDirectory ( string siteName, string application, string virtualDirectoryPath, string physicalPath, string userName, string password ) : bool

CreateApplicationPool ( string applicationPoolName, ProcessModelIdentityType identityType, string applicationPoolIdentity, string password, string managedRuntimeVersion, bool autoStart, bool enable32BitAppOnWin64, ManagedPipelineMode managedPipelineMode, long queueLength, System.TimeSpan idleTimeout, long periodicRestartPrivateMemory, System.TimeSpan periodicRestartTime ) : bool

CreateFtpSite ( string applicationPoolName, string siteName, string domainName, string userName, string password, string contentPath, string ipAddress, string tcpPort, string hostHeader ) : bool

CreateLocalUserAccount ( string userName, string password ) : bool

CreateWebSite ( string siteName ) : bool

ExistsSiteId ( ServerManager manager, int siteID ) : bool

GenerateNewSiteID ( ServerManager manager, string siteName ) : int

GenerateNewSiteIDFromName ( ServerManager manager, string siteName ) : int

GenerateNewSiteIDIncremental ( ServerManager manager ) : int

IsIncrementalSiteIDCreationSet ( ) : bool
RemoveApplication ( string siteName, string path ) : bool

Remove all the IIS applications matching given path.

RemoveApplicationPool ( string applicationPoolName ) : void
RemoveDirectorySecurity ( string directoryPath, string userAccount, FileSystemRights rights, AccessControlType controlType ) : bool

RemoveFileSecurity ( string filePath, string userAccount, FileSystemRights rights, AccessControlType controlType ) : bool

RemoveLocalUserAccount ( string userName ) : bool

메소드 상세

AddApplication() 공개 정적인 메소드

public static AddApplication ( string siteName, string applicationPath, string applicationPool, string physicalPath, string userName, string password ) : bool
siteName string
applicationPath string
applicationPool string
physicalPath string
userName string
password string
리턴 bool

AddDirectorySecurity() 공개 정적인 메소드

public static AddDirectorySecurity ( string directoryPath, string userAccount, FileSystemRights rights, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType controlType ) : bool
directoryPath string
userAccount string
rights FileSystemRights
inheritanceFlags InheritanceFlags
propagationFlags PropagationFlags
controlType AccessControlType
리턴 bool

AddFileSecurity() 공개 정적인 메소드

public static AddFileSecurity ( string filePath, string userAccount, FileSystemRights rights, AccessControlType controlType ) : bool
filePath string
userAccount string
rights FileSystemRights
controlType AccessControlType
리턴 bool

AddSiteBinding() 공개 정적인 메소드

public static AddSiteBinding ( string siteName, string ipAddress, string tcpPort, string hostHeader, string protocol ) : bool
siteName string
ipAddress string
tcpPort string
hostHeader string
protocol string
리턴 bool

AddVirtualDirectory() 공개 정적인 메소드

public static AddVirtualDirectory ( string siteName, string application, string virtualDirectoryPath, string physicalPath, string userName, string password ) : bool
siteName string
application string
virtualDirectoryPath string
physicalPath string
userName string
password string
리턴 bool

CreateApplicationPool() 공개 정적인 메소드

public static CreateApplicationPool ( string applicationPoolName, ProcessModelIdentityType identityType, string applicationPoolIdentity, string password, string managedRuntimeVersion, bool autoStart, bool enable32BitAppOnWin64, ManagedPipelineMode managedPipelineMode, long queueLength, System.TimeSpan idleTimeout, long periodicRestartPrivateMemory, System.TimeSpan periodicRestartTime ) : bool
applicationPoolName string
identityType ProcessModelIdentityType
applicationPoolIdentity string
password string
managedRuntimeVersion string
autoStart bool
enable32BitAppOnWin64 bool
managedPipelineMode ManagedPipelineMode
queueLength long
idleTimeout System.TimeSpan
periodicRestartPrivateMemory long
periodicRestartTime System.TimeSpan
리턴 bool

CreateFtpSite() 공개 정적인 메소드

public static CreateFtpSite ( string applicationPoolName, string siteName, string domainName, string userName, string password, string contentPath, string ipAddress, string tcpPort, string hostHeader ) : bool
applicationPoolName string
siteName string
domainName string
userName string
password string
contentPath string
ipAddress string
tcpPort string
hostHeader string
리턴 bool

CreateLocalUserAccount() 공개 정적인 메소드

public static CreateLocalUserAccount ( string userName, string password ) : bool
userName string
password string
리턴 bool

CreateWebSite() 공개 정적인 메소드

public static CreateWebSite ( string siteName ) : bool
siteName string
리턴 bool

ExistsSiteId() 공개 정적인 메소드

public static ExistsSiteId ( ServerManager manager, int siteID ) : bool
manager Microsoft.Web.Administration.ServerManager
siteID int
리턴 bool

GenerateNewSiteID() 공개 정적인 메소드

public static GenerateNewSiteID ( ServerManager manager, string siteName ) : int
manager Microsoft.Web.Administration.ServerManager
siteName string
리턴 int

GenerateNewSiteIDFromName() 공개 정적인 메소드

public static GenerateNewSiteIDFromName ( ServerManager manager, string siteName ) : int
manager Microsoft.Web.Administration.ServerManager
siteName string
리턴 int

GenerateNewSiteIDIncremental() 공개 정적인 메소드

public static GenerateNewSiteIDIncremental ( ServerManager manager ) : int
manager Microsoft.Web.Administration.ServerManager
리턴 int

IsIncrementalSiteIDCreationSet() 공개 정적인 메소드

public static IsIncrementalSiteIDCreationSet ( ) : bool
리턴 bool

RemoveApplication() 공개 정적인 메소드

Remove all the IIS applications matching given path.
public static RemoveApplication ( string siteName, string path ) : bool
siteName string
path string
리턴 bool

RemoveApplicationPool() 공개 정적인 메소드

public static RemoveApplicationPool ( string applicationPoolName ) : void
applicationPoolName string
리턴 void

RemoveDirectorySecurity() 공개 정적인 메소드

public static RemoveDirectorySecurity ( string directoryPath, string userAccount, FileSystemRights rights, AccessControlType controlType ) : bool
directoryPath string
userAccount string
rights FileSystemRights
controlType AccessControlType
리턴 bool

RemoveFileSecurity() 공개 정적인 메소드

public static RemoveFileSecurity ( string filePath, string userAccount, FileSystemRights rights, AccessControlType controlType ) : bool
filePath string
userAccount string
rights FileSystemRights
controlType AccessControlType
리턴 bool

RemoveLocalUserAccount() 공개 정적인 메소드

public static RemoveLocalUserAccount ( string userName ) : bool
userName string
리턴 bool