System.Web.Profile.ProfileManager.GetNumberOfProfiles C# (CSharp) Method

GetNumberOfProfiles() public static method

public static GetNumberOfProfiles ( ProfileAuthenticationOption authenticationOption ) : int
authenticationOption ProfileAuthenticationOption
return int
		public static int GetNumberOfProfiles (ProfileAuthenticationOption authenticationOption)
		{
			int totalRecords = 0;
			Provider.GetAllProfiles (authenticationOption, 0, 1, out totalRecords);
			return totalRecords;
		}