Method | Description | |
---|---|---|
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 ( |
|
|
GenerateNewSiteID ( |
|
|
GenerateNewSiteIDFromName ( |
|
|
GenerateNewSiteIDIncremental ( |
|
|
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 |
|
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 | |
return | bool |
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 | |
return | bool |
public static AddFileSecurity ( string filePath, string userAccount, FileSystemRights rights, AccessControlType controlType ) : bool | ||
filePath | string | |
userAccount | string | |
rights | FileSystemRights | |
controlType | AccessControlType | |
return | bool |
public static AddSiteBinding ( string siteName, string ipAddress, string tcpPort, string hostHeader, string protocol ) : bool | ||
siteName | string | |
ipAddress | string | |
tcpPort | string | |
hostHeader | string | |
protocol | string | |
return | bool |
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 | |
return | bool |
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 | |
return | bool |
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 | |
return | bool |
public static CreateLocalUserAccount ( string userName, string password ) : bool | ||
userName | string | |
password | string | |
return | bool |
public static CreateWebSite ( string siteName ) : bool | ||
siteName | string | |
return | bool |
public static ExistsSiteId ( |
||
manager | ||
siteID | int | |
return | bool |
public static GenerateNewSiteID ( |
||
manager | ||
siteName | string | |
return | int |
public static GenerateNewSiteIDFromName ( |
||
manager | ||
siteName | string | |
return | int |
public static GenerateNewSiteIDIncremental ( |
||
manager | ||
return | int |
public static IsIncrementalSiteIDCreationSet ( ) : bool | ||
return | bool |
public static RemoveApplication ( string siteName, string path ) : bool | ||
siteName | string | |
path | string | |
return | bool |
public static RemoveApplicationPool ( string applicationPoolName ) : void | ||
applicationPoolName | string | |
return | void |
public static RemoveDirectorySecurity ( string directoryPath, string userAccount, FileSystemRights rights, AccessControlType controlType ) : bool | ||
directoryPath | string | |
userAccount | string | |
rights | FileSystemRights | |
controlType | AccessControlType | |
return | bool |
public static RemoveFileSecurity ( string filePath, string userAccount, FileSystemRights rights, AccessControlType controlType ) : bool | ||
filePath | string | |
userAccount | string | |
rights | FileSystemRights | |
controlType | AccessControlType | |
return | bool |
public static RemoveLocalUserAccount ( string userName ) : bool | ||
userName | string | |
return | bool |