PFSite GetSite Method (String, IIdentity, PFConnectionSelectionMode, String)
Gets a local Packflow Site by its name using a specific identity.
Namespace:
Packflow.Core
Assembly:
MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntaxpublic static PFSite GetSite (
string siteName ,
IIdentity iIdentity ,
PFConnectionSelectionMode selectionMode ,
string connection = null
)Parameters siteName Type: System String Name of the site. iIdentity Type: System.Security.Principal IIdentity The identity. selectionMode Type: Packflow.Core PFConnectionSelectionMode The selection mode, describing how the SQL connection
leading to the database is chosen. connection (Optional)Type: System String If the selection mode is CustomEntry, contains the name of a connection entry (outside IIS only).
If the selection mode is CustomString, contains the connection string (outside IIS only).
In other cases, leave empty. Return Value Type:
PFSite PFSite See Also