Click or drag to resize

PFSiteGetSite Method (String, PFConnectionSelectionMode, String)

Gets a local Packflow Site by its name.

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public static PFSite GetSite(
	string siteName,
	PFConnectionSelectionMode selectionMode,
	string connection = null
)

Parameters

siteName
Type: SystemString
Name of the site.
selectionMode
Type: Packflow.CorePFConnectionSelectionMode
The selection mode, describing how the SQL connection leading to the database is chosen.
connection (Optional)
Type: SystemString
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